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.

Common.gypi not found on Windows 8.1

See original GitHub issue

Need help to get npm install working. I’m currently getting the following error:

[15:11:33][npm install] gyp: C:\WINDOWS\system32\config\systemprofile\.node-gyp\5.4.1\include\node\common.gypi not found (cwd: C:\TeamCity\BuildAgent2\work\4ec0602c8cb635ea\client\ember-app\node_modules\bufferutil) while reading includes of binding.gyp while trying to load binding.gyp

[15:11:33][npm install] gyp ERR! configure error 

[15:11:33][npm install] gyp ERR! stack Error: `gyp` failed with exit code: 1

[15:11:33][npm install] gyp ERR! stack     at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:355:16)

[15:11:33][npm install] gyp ERR! stack     at emitTwo (events.js:87:13)

[15:11:33][npm install] gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

[15:11:33][npm install] gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

[15:11:33][npm install] gyp ERR! System Windows_NT 6.3.9600

[15:11:33][npm install] gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"

[15:11:33][npm install] gyp ERR! cwd C:\TeamCity\BuildAgent2\work\4ec0602c8cb635ea\client\ember-app\node_modules\bufferutil

[15:11:33][npm install] gyp ERR! node -v v5.4.1

[15:11:33][npm install] gyp ERR! node-gyp -v v3.0.3

[15:11:33][npm install] gyp ERR! not ok 

[15:11:33][npm install] npm WARN install:bufferutil@1.1.0 bufferutil@1.1.0 install: `node-gyp rebuild`

[15:11:33][npm install] npm WARN install:bufferutil@1.1.0 Exit status 1

I have installed Python and VS express 2013. No idea what I need to do now?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Silvengacommented, Apr 28, 2016

@bnoordhuis I don’t quite remember the original issue - however, I believe it could be resolved by allowing us to change the location of the .node-gyp directory. Right now node-gyp does not work under a Windows System user because of some strict permissions.

0reactions
bnoordhuiscommented, Jun 28, 2018

@mika-fischer Yes, npm install --devdir /path/to/dir.

Read more comments on GitHub >

github_iconTop Results From Across the Web

common.gypi not found on Windows #1371 - GitHub
I tried to install mpl and had an error when rebuilding node-lz4. I tried to clone and install node-lz4 whith the same error....
Read more >
common.gypi not found error in node.js - Stack Overflow
My solution (on windows) was to go to %appdata%/npm-gypi and ... at emitErrorNT (node:internal/streams/destroy:151:8) npm ERR! gyp ERR!
Read more >
Common.gypi not found on Windows 8.1 - Bountysource
Need help to get npm install working. I'm currently getting the following error: [15:11:33][npm install] gyp: ...
Read more >
Laravel Elixir on Windows 8.1 - Laracasts
I'm running this on Windows 8.1 with Visual Studio 2013 for Windows desktop ... This is most likely a problem with the node-sass...
Read more >
build/common.gypi - chromium/src - Git at Google
common.gypi ... Windows and Linux (including Chrome OS) use Aura and Ash. ... Set to 1 to not store any build metadata, e.g....
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