From The Blog

Error running npm command

12 September 2017, in linux

If you already faced this error:

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

Then you are probably installed npm on Ubuntu using package manager.

The issue is simple, it just a naming issue nodejs instead of node, all you need to do is adding a symlink:

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

Cheers :)

Post a Comment