Closed pkorac closed 11 years ago
Please read the log for errors as it tells you what failed.
Which log? I'm sorry for being a newbie at this.
Is it the
bcrypt@0.7.6 install /Users/peko6107/Documents/developer/learn/nodejs/v4/hashing/node_modules/bcrypt
> node-gyp rebuild
command you mean? Or this part?
gyp ERR! stack Error: not found: make
gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:43:28)
gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:46:29)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:57:16
gyp ERR! stack at Object.oncomplete (fs.js:107:15)
gyp ERR! System Darwin 11.4.2
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/peko6107/Documents/developer/learn/nodejs/v4/hashing/node_modules/bcrypt
gyp ERR! node -v v0.10.7
gyp ERR! node-gyp -v v0.9.5
gyp ERR! not ok
npm ERR! weird error 1
What should this tell me? I would think it's to do with the python not building stuff, but I've got it installed.
Any help would be greatly appreciated.
You need to install "make". Without that, gyp won't be able to build the module.
You should use macports or homebrew to do this.
On Mon, Aug 12, 2013 at 11:31 AM, Peter Koraca notifications@github.comwrote:
Which log? I'm sorry for being a newbie at this.
Is it the
bcrypt@0.7.6 install /Users/peko6107/Documents/developer/learn/nodejs/v4/hashing/node_modules/bcrypt
node-gyp rebuild
command you mean? Or this part?
gyp ERR! stack Error: not found: make gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:43:28) gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:46:29) gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:57:16 gyp ERR! stack at Object.oncomplete (fs.js:107:15) gyp ERR! System Darwin 11.4.2 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/peko6107/Documents/developer/learn/nodejs/v4/hashing/node_modules/bcrypt gyp ERR! node -v v0.10.7 gyp ERR! node-gyp -v v0.9.5 gyp ERR! not ok npm ERR! weird error 1
What should this tell me? I would think it's to do with the python not building stuff, but I've got it installed.
Any help would be greatly appreciated.
— Reply to this email directly or view it on GitHubhttps://github.com/ncb000gt/node.bcrypt.js/issues/180#issuecomment-22514602 .
You need to make sure you have the tools required to build the module on
your local machine. This includes make
.
But to reiterate what @shtylman said, make sure to read through the log. Most of the time its pretty clear about what went wrong and what you need to fix.
On Mon, Aug 12, 2013 at 1:39 PM, Roman Shtylman notifications@github.comwrote:
Please read the log for errors as it tells you what failed.
— Reply to this email directly or view it on GitHubhttps://github.com/ncb000gt/node.bcrypt.js/issues/180#issuecomment-22510889 .
I get you. Thx for the help. Really appreciate it.
I've got: OS-x 10.7.5 Node: 0.10.7
The library installs ok on Heroku, but not on my local machine.
Here are the errors: