question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed npm install on win7 x64

See original GitHub issue

Hello, initial npm install downloads all the required packages, but fails to continue with following log:

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v5.2.0
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE

npm ERR! nslog@3.0.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nslog@3.0.0 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nslog package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls nslog
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     c:\joinfiles\erb-myapp\npm-debug.log

I made node cache clean with no success, any suggestions?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
mikerockettcommented, Feb 20, 2016

Ah, not to worry. Ran npm i in electron-prebuilt. All working like a charm now. 👍

0reactions
barrystaescommented, Sep 2, 2016

I also get the node-gyp error on Windows 10.

@wub said:

Make sure you’ve got Python 2.7 (and that it’s in your path), and some kind of Windows SDK (will need to find out which one). 😄

Is this requirement (node-gyp / Python) introduced by Electron, by React, by electron-react-boilerplate, or some optional feature ?

I’d expect such requirements (Python) to be listed in Readme.md for this boilerplate.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Npm install command error on windows 7 64 bit - Stack Overflow
1 Answer 1 · i got same error on powershell which i mentioned in question while running npm install --global --production npm-windows-upgrade.
Read more >
npm fails on windows 7 x64 when calls to node-gyp.js rebuild
I should note that when invoking npm install xxx from cmd.exe , things work as expected. But when I invoke the command from...
Read more >
Npm install command failing with message "could not find ...
When I run the npm install command, npm starts downloading the dependencies. But then, suddenly, it stops with the error:
Read more >
Run Into a NPM Node-gyp Compilation Error on Windows 10 ...
This error can happen when you are installing a number of packages from NPM that depend on binaries being compiled in order for...
Read more >
windows-build-tools - npm
Install C++ Build Tools for Windows using npm. Latest version: 5.2.2, last published: 3 years ago. Start using windows-build-tools in your ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found