-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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 in ../deps/v8/src/api.cc, line 1051 #10659
Comments
This is very, very likely the same kind of problem as described in #9370, so please try to make sure all your dependencies are up to date. If that doesn’t help, you’re probably better off raising this issue at https://github.com/gulpjs/gulp than here. |
I’m closing this as it’s almost certainly not a bug with Node itself, too, but feel free to ask follow-up questions if you have any! |
i got it fixed. Ran following commands npm i -g npm-check-updates
npm-check-updates -u
npm install Thanks |
@muthufmass Doesn't help me:
node 7.4.0 |
npm i -g npm-check-updates Works! |
for windows create empty .npmrc to compile against VS2015, if any: cd %USERPROFILE% |
I continue to get the error but at a different line number:
I ran the npm-check-updates and also cleared the node_modules folder and cleared the npm cache too. |
@lvl99 You probably have a native module somewhere that hasn't updated its code. The stack trace should show where the offending call came from (on UNIX - native stack traces aren't implemented on Windows.) |
I have a similar issue on Node v8.1.4
I believe it is a pg-native problem for me. I'll add more info if I resolve the problem. Edit: |
@muthufmass You just save my day. |
I am getting a similar problem. I tried all the above solutions, but none of them were working. Fatal error in ../deps/v8/src/api.cc, line 1248Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo(). |
The above solutions didn't work for me. My problem was this part in my package.json:
Which was causing the same error output as @crcali mentioned in the previous comment. |
@antoniobrandao did it help you? |
@Andrushkins the problem was the Node version I was running. In my case removing that instruction from the package.json helped for one project, but it didn't help for another. My final solution was to use the "n" package to switch between different Node versions accordingly. In my case, some of my projects require that I am running Node 4.x, and others work with the latest stable version. So in the end, I restored that instruction to my package.json of the project, since this project in particular requires that I use Node 4.8.4. Always make sure to be running the appropriate Node version the project you're working with. It would be nice if Node programs could throw a more comprehensible error, eg. "Incompatible Node version". Until then, whenever you see errors with "v8" in it, most likely you're running a project against an incompatible version of node. |
I'm getting this error:
I removed the node_modules folder & reinstalled everything using On my local ubuntu machine everything runs fine. My colleague is even running it on MacOS without any issues :/ |
@skerit Can you open a new issue and include more information, for example steps to reproduce? |
@skerit I'm getting the error same as you.Can you help me ? |
node version 7.3.0, (even tried with 7.4.0, same issue)
react : 15.4.1
gulp : 3.9.0
On running gulp for react js project with node. I get this error. I tried lowering the version less than 7 and lowered all react js versions, then do an npm node-gyp, then things worked, but again moved back to latest on both react and node, things are back to same error.
Any help will be great here, as I am struck on developments.
sh-3.2# gulp
Fatal error in ../deps/v8/src/api.cc, line 1051
Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo().
==== C stack trace ===============================
Need some help.
The text was updated successfully, but these errors were encountered: