Skip to content

Instantly share code, notes, and snippets.

@eric-schleicher
Created June 29, 2017 22:15
Show Gist options
  • Save eric-schleicher/645bdd1526c8aa9bbb5f0091cfe2cc1b to your computer and use it in GitHub Desktop.
Save eric-schleicher/645bdd1526c8aa9bbb5f0091cfe2cc1b to your computer and use it in GitHub Desktop.
Console Output for error running npm install for greyhound on a system with known working nodegyp (rebuild)
C:\Users\user\Documents\Git\fork\greyhound>npm install
> greyhound-server@1.0.1 install C:\Users\user\Documents\Git\fork\greyhound
> node-gyp rebuild
C:\Users\user\Documents\Git\fork\greyhound>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
bindings.cpp
session.cpp
win_delay_load_hook.cc
..\src\session\session.cpp(4): fatal error C1083: Cannot open include file: 'json/json.h': No such file or directory [C:\Users\user\Documents\Git\fork\greyhound\build\session.vcxproj]
c:\users\user\documents\git\fork\greyhound\src\session\types/js.hpp(3): fatal error C1083: Cannot open include file: 'json/json.h': No such file or directory (compiling source file ..\src\session\bindings.cpp) [C:\Users\user\Documents\Git\fork\greyhound\build\session.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 6.3.9600
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"
gyp ERR! cwd C:\Users\user\Documents\Git\fork\greyhound
gyp ERR! node -v v6.9.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.9.2
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! greyhound-server@1.0.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the greyhound-server@1.0.1 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 greyhound-server 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 information on how to open an issue for this project with:
npm ERR! npm bugs greyhound-server
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls greyhound-server
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\user\Documents\Git\fork\greyhound\npm-debug.log
C:\Users\user\Documents\Git\fork\greyhound>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment