运行brew安装节点时,我无法获得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节点时没有做任何事情。
非常感谢您的帮助!
答案 0 :(得分:2)
您可以尝试以下方法:
$ brew uninstall node
$ rm -r ~/.npm
$ brew install node