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
[8.0.0] (node:27451) UnhandledPromiseRejectionWarning: RangeError: Maximum call stack size exceeded #681
Comments
Same here with stats, until v8 : RangeError: Maximum call stack size exceeded
at Object.statSync (fs.js:865:18)
at checkParentPathsSync (/Users/david/dev/formats/node_modules/fs-extra/lib/util/stat.js:143:21)
at checkParentPathsSync (/Users/david/dev/formats/node_modules/fs-extra/lib/util/stat.js:154:10)
at checkParentPathsSync (/Users/david/dev/formats/node_modules/fs-extra/lib/util/stat.js:154:10)
at checkParentPathsSync (/Users/david/dev/formats/node_modules/fs-extra/lib/util/stat.js:154:10)
at checkParentPathsSync (/Users/david/dev/formats/node_modules/fs-extra/lib/util/stat.js:154:10)
at checkParentPathsSync (/Users/david/dev/formats/node_modules/fs-extra/lib/util/stat.js:154:10)
at checkParentPathsSync (/Users/david/dev/formats/node_modules/fs-extra/lib/util/stat.js:154:10)
at checkParentPathsSync (/Users/david/dev/formats/node_modules/fs-extra/lib/util/stat.js:154:10)
at checkParentPathsSync (/Users/david/dev/formats/node_modules/fs-extra/lib/util/stat.js:154:10)
|
Same problem
Any workaround? |
Should be fixed in v8.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fs-extra
version: 8.0.0I'm failing at a relatively innocuous looking line:
The process simply hangs on the line above and I have to
CTRL+C
to exit the process. All paths resolve correctly, I double checked.When I rewrite the line using copySync syntax, I get the following error:
Error log:
But when I write with Promise.then() syntax it works:
The control moves to next line correctly when using
then().catch()
syntax… but my entire script is usingasync await
pattern. One thing to note with all three syntax options is that the copying of directory is successful in each, it is only the stack execution that either hangs or exits with an error in the case of first two options.Is this something others are seeing too?
The text was updated successfully, but these errors were encountered: