npm install zlib 安装出错
发布于 5 年前 作者 yuenshui 5885 次浏览 最后一次编辑是 4 年前 来自 问答

npm install zlib

|

zlib@1.0.5 preinstall /Home/Documents/website/findme/node_modules/zlib node-waf clean || true; node-waf configure build

sh: node-waf: command not found sh: node-waf: command not found npm ERR! Linux 2.6.32-573.12.1.el6.x86_64 npm ERR! argv “/usr/local/node/bin/node” “/bin/npm” “install” "zlib" npm ERR! node v4.2.4 npm ERR! npm v2.14.12 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn

npm ERR! zlib@1.0.5 preinstall: node-waf clean || true; node-waf configure build npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the zlib@1.0.5 preinstall script ‘node-waf clean || true; node-waf configure build’. npm ERR! This is most likely a problem with the zlib package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-waf clean || true; node-waf configure build npm ERR! You can get their info via: npm ERR! npm owner ls zlib npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Home/Documents/website/findme/npm-debug.log

2 回复

@mengkeys 谢谢,原来内置了

回到顶部