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

Error during 'npm install' #1

Open
athenawisdoms opened this issue Apr 12, 2020 · 0 comments
Open

Error during 'npm install' #1

athenawisdoms opened this issue Apr 12, 2020 · 0 comments

Comments

@athenawisdoms
Copy link

Hello!

When I run the following commands

git clone https://github.com/simpletut/Electron-React-Redux-Starter-Kit .
npm install

I get the error ending with the following error message.

Any ideas what has happened?

Can we also have some help to update the npm dependencies?

Thanks!

...

/Users/athenawisdoms/.node-gyp/13.7.0/include/node/v8.h:3180:5: note: candidate constructor not viable: requires 2
      arguments, but 1 was provided
    Utf8Value(Isolate* isolate, Local<v8::Value> obj);
    ^
1 error generated.
make: *** [Release/obj.target/binding/src/create_string.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/athenawisdoms/Desktop/Code/testelectron/Electron-React-Redux-Starter-Kit/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:321:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.3.0
gyp ERR! command "/usr/local/Cellar/node/13.7.0/bin/node" "/Users/athenawisdoms/Desktop/Code/testelectron/Electron-React-Redux-Starter-Kit/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /Users/athenawisdoms/Desktop/Code/testelectron/Electron-React-Redux-Starter-Kit/node_modules/node-sass
gyp ERR! node -v v13.7.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
Build failed with error code: 1
npm WARN css-loader@1.0.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@7.1.0 requires a peer of webpack@^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN electron-react-redux-starter-kit@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.9.3 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-sass@4.9.3 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/athenawisdoms/.npm/_logs/2020-04-12T23_29_45_367Z-debug.log

System:

  • Mac OS X 10.15.3
  • node v13.7.0
  • npm 6.14.4
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

1 participant