-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
[v2] FATAL ERROR: v8::HandleScope::CreateHandle() #5245
Comments
Which Node version are you using? Node 12? Another bug report I found: https://community.netlify.com/t/fatal-error-v8-createhandle-cannot-create-a-handle-without-a-handlescope/22957 Might be related: nodejs/node-addon-api#730 |
Yes I am using node 12 |
So I guess there is a Node 12 bug with the |
Seems to be fixed with node 14. I also think it has to do with the size of the build. |
@mischnic But OP is clearly building using parameter |
In case this helps: I recently updated from 2.0.0-beta.1 to 2.0.0-nightly.443 and suddenly I got this error with every build. on beta.1 no issues at all. |
@Lusito Any chance you can figure out in which nightly version this started to happen? Which Node version are you using? |
@mischnic The change from 2.0.0-nightly.389 to 2.0.0-nightly.395 brings the problem (there are no other nightlies in between). I am on node v12.16.3. |
Thanks! These are the changes between the two nightlies 288396a...ac21b52 Then it's probably #5106, so from cc @DeMoorJasper any ideas? |
From the short description i would assume that node-addon-api contains native code. Its version was bumped from 2 to 3. That would be the first thing i would take a look at. |
Just tried it on my fresh linux manjaro setup where I am able to reproduce the issue on node 12.6.3 not with 15.2.0. I can try other node versions here if it helps. |
Node 12.18.3 is the first that works again. I think it might be this issue: nodejs/node#33867 |
Thanks! Looking at the "n-api" list in https://github.com/nodejs/node/releases/tag/v12.18.3, I'd say it's nodejs/node#33508? This issue is linked in there: nodejs/node-addon-api#722, it has the exact same error message we are seeing here. @NordlingDev @pr1ntr does using 12.18.3 fix it for you? In that case, I'd say upgrading Node is a(n) acceptable ("workaround"). nodejs/node-addon-api#730 (comment):
|
🐛 bug report
Seems like when I try to build it sporadically spits this node error out. There is no rhyme or reason to it afaik.
here is a full output log with the error
.babelrc
.parcelrc
script.
🤔 Expected Behavior
It builds without Exit 134
😯 Current Behavior
Well it actually builds but the error exit with code 134 which causes CI exit code 1 and not continue the deployment.
💁 Possible Solution
Could be something to do with not enough resources?
🔦 Context
This happens on local and ci builds, and local dev. It also happens when i ctrl-c the dev server. It is sporadic.
💻 Code Sample
Sorry all NDA
🌍 Your Environment
Happens on on my i5 4670k with 16gb ram, win 10
Happens in travis on xenial
The text was updated successfully, but these errors were encountered: