As mentioned in kelektiv/node.bcrypt.js#367, when running npm update in this particular fork of Drywall, it fails with the following exception:
> bcrypt@0.8.5 install /Users/bitbear/Dev.local/Drywall/node_modules/bcrypt
> node-gyp rebuild
CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
/Users/bitbear/Dev.local/Drywall/node_modules/.bin/touch: line 1: syntax error near unexpected token `('
/Users/bitbear/Dev.local/Drywall/node_modules/.bin/touch: line 1: `var touch = require("../touch")'
make: *** [Release/obj.target/bcrypt_lib/src/blowfish.o] Error 2
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
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 Darwin 14.5.0
gyp ERR! command "/usr/local/Cellar/node/5.0.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/bitbear/Dev.local/Drywall/node_modules/bcrypt
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/5.0.0/bin/node" "/usr/local/bin/npm" "update"
npm ERR! node v5.0.0
npm ERR! npm v3.3.9
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.
I've read every comment in kelektiv/node.bcrypt.js#90, but neither of the suggestions help. After removing ~/.node-gyp, running this:
npm un bcrypt;npm i bcrypt --save;npm un node-gyp -g;npm i -g node-gyp && node-gyp clean
and everything else suggested there, npm install still fails. Any ideas what causes this and how I can fix it?
As mentioned in kelektiv/node.bcrypt.js#367, when running
npm updatein this particular fork of Drywall, it fails with the following exception:I've read every comment in kelektiv/node.bcrypt.js#90, but neither of the suggestions help. After removing
~/.node-gyp, running this:and everything else suggested there,
npm installstill fails. Any ideas what causes this and how I can fix it?