安装运行开源项目 pump.io 出现 编译bcrypt 错误,请大家帮我看看
发布于 9 年前 作者 pangguoming 3616 次浏览 最后一次编辑是 8 年前 来自 问答

开源项目 pump.iohttps://github.com/e14n/pump.io 下载后运行 npm install 命令出现以下错误,我是在Ubuntu 上运行的这个项目。 没有解决,请大家看看。谢谢

gyp ERR! configure error gyp ERR! stack Error: ENOSPC, mkdir '/home/rainbow/WebstormProjects/pump.io-master/node_modules/bcrypt/.node-gyp’ gyp ERR! stack at Error (native) gyp ERR! System Linux 3.2.0-84-generic gyp ERR! command “node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” "rebuild" gyp ERR! cwd /home/rainbow/WebstormProjects/pump.io-master/node_modules/bcrypt gyp ERR! node -v v0.12.2 gyp ERR! node-gyp -v v1.0.3 gyp ERR! not ok npm ERR! Linux 3.2.0-84-generic npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” "install" npm ERR! node v0.12.2 npm ERR! npm v2.7.4 npm ERR! code ELIFECYCLE

npm ERR! bcrypt@0.8.3 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bcrypt@0.8.3 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/rainbow/WebstormProjects/pump.io-master/npm-debug.log

回到顶部