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

react-list-form sample does not run in node 10 #672

Closed
1 of 3 tasks
merlos opened this issue Nov 9, 2018 · 0 comments
Closed
1 of 3 tasks

react-list-form sample does not run in node 10 #672

merlos opened this issue Nov 9, 2018 · 0 comments

Comments

@merlos
Copy link

merlos commented Nov 9, 2018

Category

  • Question
  • Bug
  • Enhancement

Authors

@DanyWyss

Expected or Desired Behavior

gulp serve to compile

Observed Behavior

gulp sends an error:

$ gulp serve
gulp[20]: ../src/node_contextify.cc:628:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' fai
led.
 1: 0x8daaa0 node::Abort() [gulp]
 2: 0x8dab75  [gulp]
 3: 0x90e2f7 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [gulp]
 4: 0xb5e71b  [gulp]
 5: 0xb606b2 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [gulp]
 6: 0x35e003edbe1d
Aborted (core dumped)

Steps to Reproduce

  1. Clone repo
  2. Go to webpart folder
  3. Install dependencies (npm install)
  4. Run gulp serve

These are the versions I am using

node -v
v10.13.0
npm -v
6.4.1
gulp -v
[08:03:12] CLI version 3.9.1
[08:03:12] Local version 3.9.1

Suggestion

I was able to solve it by adding to package.json in devDependencies the following package:

"natives": "^1.1.3"

The same bug was described here in other package: userfrosting/UserFrosting#882

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

2 participants