Usr/bin/env: ‘node’: no such file or directory

In this article let’s discuss about Usr/bin/env: ‘node’: no such file or directory. Let’s go through the following methods without any delay.

Method 1:

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

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar by have a try!

Method 2 :

sudo add-apt-repository https://launchpad.net/~chris-lea/+archive/node.js/

sudo apt-get install -y nodejs

Hope the above solution works.

Realted Posts : Rsync port ssh