Warning: node-5.0.0 already installed, it's just not linked

≡放荡痞女 提交于 2019-12-18 20:08:06

问题


I am trying to install node js. I am getting the following error . Any idea?

brew install node
Warning: node-5.0.0 already installed, it's just not linked

Thanks


回答1:


You should be able to run:

brew link node

What you're doing is telling Brew to create a symlink for the node executable to the /usr/bin (or /usr/local/bin) directory, as far as I am aware.




回答2:


For this issue run

brew link homebrew/versions/node<version no>

To know why, you can surf here.




回答3:


You can run the below command to override all the conflicts.

brew link --overwrite node


来源:https://stackoverflow.com/questions/33653977/warning-node-5-0-0-already-installed-its-just-not-linked

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!