[v2] FATAL ERROR: v8::HandleScope::CreateHandle()
See original GitHub issue🐛 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
{
"presets": ["@babel/preset-env", "@babel/preset-react"],
"plugins": [
[
"babel-plugin-styled-components",
{
"cssProp": true,
"displayName": true
}
],
["@babel/plugin-proposal-class-properties", { "loose": true }],
["@babel/plugin-proposal-optional-chaining"]
]
}
.parcelrc
{
"extends": "@parcel/config-default",
"transformers": {
"*.{jpg,png,svg}": ["@parcel/transformer-raw"]
}
}
script.
{"scripts": {
"build": "parcel build ./src/index.html --dist-dir dist --no-source-maps"
}}
🤔 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
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
FATAL ERROR: v8::HandleScope::CreateHandle() Cannot ...
When testing my native addon with iojs 3 I get FATAL ERROR: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope I'm ...
Read more >Fatal error in v8::HandleScope::CreateHandle() # Cannot ...
We were usign NextJS (the build failed with this "v8::HandleScope::CreateHandle()" error). Locally everything was working fine, ...
Read more >FATAL ERROR: v8::HandleScope::CreateHandle() Cannot ...
Hi, I'm getting the following error, any thoughts by chance? Everything was working fine, although I was getting an error from Browserlist ...
Read more >Cannot create a handle without a HandleScope
Here's the exact error I get: # # Fatal error in v8::HandleScope::CreateHandle() # Cannot create a handle without a HandleScope
Read more >Need Help with building project : r/nextjs - Reddit
FATAL ERROR : v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope 1: 0xa89e60 node::Abort() [node] 2: 0x9ade29 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Seems to be fixed with node 14. I also think it has to do with the size of the build.
Thanks! Looking at the “n-api” list in https://github.com/nodejs/node/releases/tag/v12.18.3, I’d say it’s https://github.com/nodejs/node/pull/33508? This issue is linked in there: https://github.com/nodejs/node-addon-api/issues/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”).
https://github.com/nodejs/node-addon-api/issues/730#issuecomment-636922311: