Post

Node.js Installation : No such file or directory

I just installed node.js via ubuntu's package manager because I didn't want the hassle of downloading it from the website. When it finished, it turned out there was an error

/usr/bin/env: node: No such file or directory

The solution to overcome this is to link the nodejs that's in the wrong location by running the following command

ln -s /usr/bin/nodejs /usr/bin/

This post is licensed under CC BY 4.0 by the author.