Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node.js not linked error

I've literally searched everything on web. But I could not find the solution for the error node-0.8.8 already installed, it's just not linked. Is it related to a path file issue?

like image 233
Ali Avatar asked Sep 30 '12 17:09

Ali


2 Answers

Execute this list of commands in this particular order:

sudo brew uninstall node brew update brew upgrade brew cleanup brew install node sudo chown -R $(whoami) $(brew --prefix) brew link --overwrite node brew postinstall node 
like image 194
6754534367 Avatar answered Oct 01 '22 08:10

6754534367


After you've run brew upgrade to update node to the latest version, run brew doctor to see what potential problems there are. It might tell you that node is unlinked, in which case, running brew link node will link it. (You might need to first run brew unlink node)

like image 34
arete Avatar answered Oct 01 '22 10:10

arete