安装Poplib时的问题,“此时不应有 node-waf。”
发布于 12 年前 作者 sevencity 7232 次浏览 最后一次编辑是 8 年前

1、使用npm install poplib -g 会卡死在 下载依赖包上 2、git 后拷贝到node_modules,再安装会报错 报错:

hashlib@1.0.1 preinstall C:\Program Files\nodejs\node_modules\poplib\node_mod les\hashlib node-waf clean || (exit 0); node-waf configure build

此时不应有 node-waf。

npm ERR! hashlib@1.0.1 preinstall: node-waf clean || (exit 0); node-waf config re build npm ERR! cmd "/c" "node-waf clean || (exit 0); node-waf configure build" fail d with 1 npm ERR! npm ERR! Failed at the hashlib@1.0.1 preinstall script. npm ERR! This is most likely a problem with the hashlib package,

1 回复

我这里现在很顺利… 不过可能现在回复晚了. 都过了1年了. Alt Text

回到顶部