繁体   English   中英

运行brew install节点时,npm没有建立

[英]npm isn't building when I run brew install node

运行brew install节点时,我无法构建npm。 这是我要安装的节点的结尾。

==> /usr/local/bin/npm install --global npm@latest --prefix /usr/local
--global
npm@latest
--prefix
/usr/local

Warning: The post-install step did not complete successfully
You can try again using `brew postinstall node`
==> Summary
 /usr/local/Cellar/node/0.10.32: 1678 files, 19M

运行brew postinstall节点时没有任何反应。

非常感谢您的帮助!

您可以尝试以下方法:

$ brew uninstall node
$ rm -r ~/.npm
$ brew install node

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM