當你是一個新手,你會問愚蠢的問題。我已經盡力了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