I’m searching it in google on how to show the version of node js or how I’m gonna work with npm?
If I do this
even I already install it using
brew install node. The result is always
env: node: No such file or directory
I already do a lot of command to solve for it, but failed.
these are the command that I already try:
sudo apt-get install nodejs-legacy sudo ln -s /usr/local/bin/node /usr/bin/node brew unlink node brew link node
I can’t start the task because of this. help me guys. This work before after I used this command
brew link --overwrite node. Now I have problem, i cant work anymore with npm. I’m really new about this. I don’t have any idea now on how to fix this.
I already get the list using
npm list command. I also get the idea here link but when I
npm install inside the project. I alwayst get this “result env: node: No such file or directory”,even I command
npm -v but If i command it outside my project. It work the npm -v