我尝试使用npm install bcrypt
在joyent的smartos中安装bcrypt,但收到错误。然后在正确的讨论答案here的帮助下,我尝试但在执行node-gyp build
时由于跟随错误而再次陷入困境。
可能有什么问题以及如何摆脱它?
gyp info it worked if it ends with ok
gyp info using node-gyp@0.13.0
gyp info using node@0.10.24 | sunos | x64
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at F (/opt/local/lib/node_modules/node-gyp/node_modules/which/which.js:43:28)
gyp ERR! stack at E (/opt/local/lib/node_modules/node-gyp/node_modules/which/which.js:46:29)
gyp ERR! stack at /opt/local/lib/node_modules/node-gyp/node_modules/which/which.js:57:16
gyp ERR! stack at Object.oncomplete (fs.js:107:15)
gyp ERR! System SunOS 5.11
gyp ERR! command "node" "/opt/local/bin/node-gyp" "build"
gyp ERR! cwd /home/admin/workbench/dev/node.bcrypt.js
gyp ERR! node -v v0.10.24
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok