简体   繁体   中英

npm isn't building when I run brew install node

When running brew install node I'm not able to get npm to build. Here's the end of the node install I'm getting...

==> /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

Nothing doing when run brew postinstall node.

Many thanks for help!

You could try the following :

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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