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,