Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin-user-data-dir: DeprecationWarning fs.rmdir #516

Closed
akornatskyy opened this issue Jun 11, 2021 · 3 comments
Closed

plugin-user-data-dir: DeprecationWarning fs.rmdir #516

akornatskyy opened this issue Jun 11, 2021 · 3 comments
Labels
issue: bug report A bug has been reported needs triage

Comments

@akornatskyy
Copy link

(node:27) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
    at emitRecursiveRmdirWarning (node:internal/fs/utils:790:13)
    at Object.rmdirSync (node:fs:1145:5)
    at Plugin.deleteUserDataDir (.../node_modules/puppeteer-extra-plugin-user-data-dir/index.js:72:11)
    at Plugin.onClose (.../node_modules/puppeteer-extra-plugin-user-data-dir/index.js:114:12)
@akornatskyy akornatskyy added issue: bug report A bug has been reported needs triage labels Jun 11, 2021
@koteesy
Copy link

koteesy commented Jun 30, 2021

Yo. Did you find solution?

@akornatskyy
Copy link
Author

Use fs.rm(path, { recursive: true }) instead.

@thvd
Copy link

thvd commented Aug 29, 2021

#502 should resolve it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug report A bug has been reported needs triage
Projects
None yet
Development

No branches or pull requests

3 participants