Tuesday, November 15, 2016

"/usr/bin/env: node: No such file or directory" - UBUNTU

Check out this GitHub Issue

https://github.com/nodejs/node-v0.x-archive/issues/3911

If you have installed nodejs from your package repo in ubuntu it is called nodejs and not node.
You can solve it whit a symlink but you should not place the symlink in /usr/bin like nodejs is, but in /usr/local/bin/node for it to be outside the package systems world to comply to standards.
ie: 
ln -s /usr/bin/nodejs /usr/local/bin/node

No comments:

Post a Comment