-
Notifications
You must be signed in to change notification settings - Fork 152
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
Failing to install on Node 19 #339
Comments
I can confirm I got this error as well some weeks ago. I just rolled back to a previous version of node as a temporary "solution", but sooner or later will I need to fix it. |
Let me know if there's anything I can do to help investigate/resolve this! |
Similar error. I can fix so the code compiles by remove the AccessorSignature and when update the OOMErrorCallback to take a v8::OOMDetails as second argument instead of boolean. However, the process crashes as soon a Isolate is being constructed - so clearly I am forgetting something. Unfortunately do I not have so much time to debug it further. |
Minor deprecations aside there is a more serious issue that @idleman also observed. I bisected this back to v8 commit v8/v8@de02b4c which is in the same area as the segfault trace or dcheck failure (when running node_g). I checked some newer versions of v8 to see if the issue was resolved but the latest I could get to compile with nodejs was 10.9.150 [10.7.193.13 is most current in nodejs], and it still failed in the newer version. I'll have to investigate further another time. The issue has such a trivial reproduction case that I'm hoping it's just something simple that's been overlooked. update: It works with --no-node-snapshot |
@laverdet, can you explain how to make it work? |
You have to install from git since this change is not on npm. There is a larger question about shared snapshot state that I may need to raise with the v8 team. I'm not sure yet. |
@laverdet, thanks. I installed the package from NPM. However, it is unstable. The dependencies install locally but occasionally fail in GitHub actions. I really appreciate any help you can provide. |
v4.5.0 on npm fixes these issues. |
Using node 19.4.0 and npm 9.2.0, I'm getting a C++ compilation error during installation:
Anything else I can add here to help debug this?
The text was updated successfully, but these errors were encountered: