-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Fatal error when snapshotting #46902
Comments
the error message you are seeing indicates a failure in the V8 engine during snapshot creation. |
Was there a "handle not serialized" error message further up? You didn't include it but I'd expect to see it. Also, can you try with the official node binary instead of homebrew's? |
@bnoordhuis I installed the official binary and ran it again. The error message begins with "global handle not serialized". See the full error message here: error.txt. |
Thanks. I'll include it inline for posterity:
It looks like eslint starts worker threads and those can't be snapshotted yet, see tracking issue #44014. I'll close this as a known issue/duplicate but you can follow the tracking issue for updates. |
Version
19.7.0
Platform
Darwin 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000 arm64
Subsystem
No response
What steps will reproduce the bug?
Hi, I observe that snapshotting fails when I include ESLint (https://eslint.org) in the snapshot.
npm i && npm run build:webpack
.node --build-snapshot ./build/eslint.js
. Note thatnode ./build/eslint.js
succeeds.How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior?
I expect snapshotting to succeed.
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: