npm install错误

碟碟 发布于 2018/05/17 13:50
阅读 3K+
收藏 0
npm

gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack     at getNotFoundError (/home/dev/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack     at F (/home/dev/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack     at E (/home/dev/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack     at /home/dev/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack     at /home/dev/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:42:5
gyp ERR! stack     at /home/dev/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/which/node_modules/isexe/mode.js:8:5
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Linux 4.9.0-3-amd64
gyp ERR! command "/home/dev/.nvm/versions/node/v8.4.0/bin/node" "/home/dev/.nvm/versions/node/v8.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/dev/Workspace/nextoken/node_modules/scrypt
gyp ERR! node -v v8.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN react-progress-label@2.0.0 requires a peer of react@^15.4.1 but none is installed. You must install peer dependencies yourself.
npm WARN react-progress-label@2.0.0 requires a peer of react-dom@^15.4.1 but none is installed. You must install peer dependencies yourself.
npm WARN schema-utils@0.4.5 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN webpack-cli@2.0.14 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN The package mongojs is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! scrypt@6.0.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the scrypt@6.0.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/dev/.npm/_logs/2018-05-17T05_47_06_620Z-debug.log

什么原因

加载中
0
开源中国-首席营养师

not found: make

这个都没有,你怎么安装东西

返回顶部
顶部