为了账号安全,请及时绑定邮箱和手机立即绑定

ubuntu15.10安装bcrypt报错,????

gyp ERR! build error 

gyp ERR! stack Error: `make` failed with exit code: 2

gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)

gyp ERR! stack     at emitTwo (events.js:87:13)

gyp ERR! stack     at ChildProcess.emit (events.js:172:7)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

gyp ERR! System Linux 4.2.0-18-generic

gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"

gyp ERR! cwd /home/foreve_/workspace/imooc/node_modules/bcrypt

gyp ERR! node -v v5.0.0

gyp ERR! node-gyp -v v3.0.3

gyp ERR! not ok 

npm WARN EPACKAGEJSON imooc@1.0.0 No description

npm ERR! Linux 4.2.0-18-generic

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "bcrypt" "--save-dev"

npm ERR! node v5.0.0

npm ERR! npm  v3.3.6

npm ERR! code ELIFECYCLE


npm ERR! bcrypt@0.8.5 install: `node-gyp rebuild`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the bcrypt@0.8.5 install script 'node-gyp rebuild'.

npm ERR! This is most likely a problem with the bcrypt package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR!     node-gyp rebuild

npm ERR! You can get their info via:

npm ERR!     npm owner ls bcrypt

npm ERR! There is likely additional logging output above.


npm ERR! Please include the following file with any support request:

npm ERR!     /home/foreve_/workspace/imooc/npm-debug.log


正在回答

1 回答

我的也出错了

后来用的bcryptjs

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
node建站攻略(二期)——网站升级
  • 参与学习       51919    人
  • 解答问题       423    个

帮助你深入前后端开发留下的迷惑,为进一步自学打下基础

进入课程

ubuntu15.10安装bcrypt报错,????

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号