当你是一个新手,你会问愚蠢的问题。我已经尽力了Google,并在询问这里之前先堆叠起来。有一个类似的问题,但没有明确的答案:npm failed to install time with make not found errornpm - 无法安装。什么是'make'?
我试图'npm安装',并得到一个错误。与'make'有关。什么是'make'?我需要安装什么来获得'make'。我的系统是nodejs SmartOS。
[email protected] install /home/scotch/node_modules/bcrypt
node-gyp rebuild
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at F (/opt/local/lib/node_modules/npm/node_modules/which/which.js:43:28)
gyp ERR! stack at E (/opt/local/lib/node_modules/npm/node_modules/which/which.js:46:29)
gyp ERR! stack at /opt/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 SunOS 5.11
gyp ERR! command "node" "/opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/scotch/node_modules/bcrypt
gyp ERR! node -v v0.10.24
gyp ERR! node-gyp -v v0.12.1
gyp ERR! not ok
尝试安装到这种方式 - > [ppa:chris-lea/node.js](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager),这包括'npm' – aldanux