Skip to content
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

dependency 'natives' is locked to a version which crashes with nodejs 10 #117

Open
cjsin opened this issue Aug 11, 2018 · 2 comments
Open

Comments

@cjsin
Copy link

cjsin commented Aug 11, 2018

As per this issue:

The package 'natives' (version 1.1.0 in package-lock.json) needs to be updated to avoid a crash when running 'npm start' (see following backtrace). It's possible this may only affect users with nodejs version 10. (my version is 10.6.0)

Upgrading 'natives' to version 1.1.3 solves the issue.

Workaround for users using nodejs 10:

 npm install natives@1.1.3 

or:

  rm -rf node_modules
  rm -f package-lock.json
  npm install

example of the problem:

$ npm start

> solved-by-flexbox@ start /home/dev/nodejs/solved-by-flexbox
> gulp serve

gulp[30024]: ../src/node_contextify.cc:631:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' failed.
 1: 0x89c2f0 node::Abort() [gulp]
 2: 0x89c3d5  [gulp]
 3: 0x8cba87 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [gulp]
 4: 0xb1a9e8  [gulp]
 5: 0xb1c952 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [gulp]
 6: 0xf17a15041bd 
Aborted
@lexeek
Copy link

lexeek commented Feb 7, 2019

Faced with the same problem. Solution from above is worked perfectly.

@smlum
Copy link

smlum commented Mar 19, 2019

Same problem. Installing latest natives worked for me too:

 npm install natives@1.1.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants