问题
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