Skip to content

Instantly share code, notes, and snippets.

@timmarinin
Created September 11, 2015 20:09
Show Gist options
  • Save timmarinin/6b0ba5a9b51247468332 to your computer and use it in GitHub Desktop.
Save timmarinin/6b0ba5a9b51247468332 to your computer and use it in GitHub Desktop.
debug log while npm install --save bcrypt
tim@tim-pc:~/work/logistic-web$ npm install -S bcrypt
npm WARN package.json logistic-web@1.0.0 license should be a valid SPDX license expression
/
> bcrypt@0.8.5 install /home/tim/work/logistic-web/node_modules/bcrypt
> node-gyp rebuild
gyp: /home/tim/.node-gyp/4.0.0/common.gypi not found (cwd: /home/tim/work/logistic-web/node_modules/bcrypt) while reading includes of binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:357:16)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.1.0-1-amd64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/tim/work/logistic-web/node_modules/bcrypt
gyp ERR! node -v v4.0.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Linux 4.1.0-1-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-S" "bcrypt"
npm ERR! node v4.0.0
npm ERR! npm v2.14.2
npm ERR! code ELIFECYCLE
npm ERR! bcrypt@0.8.5 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@0.8.5 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the bcrypt 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 bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/tim/work/logistic-web/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment