In mavericks i install from the node pkg (from nodejs site) and I uninstall it so I can re-install using brew. I only do 3 commands at terminal:
sudo rm -rf /usr/local/lib/node_modules/npm/brew uninstall nodebrew doctor
If there is still a node installation, repeat step 2. Then all is ok, I install using brew install node
Cheers,
Pedro
| 11 |
Needed a brew prune to clear broken symlinks also –
Pan Chrono
Feb 20 '14 at 1:11
| 3 |
本文提供了在Mac OS上彻底卸载并重新安装Node.js及npm的方法,包括使用命令行工具进行操作的具体步骤。适用于解决因Node.js或npm版本问题导致的开发环境配置难题。
7746






