run npm command gives error "/usr/bin/env: node: No such file or directory" #3911
Some of them already discussed about this issue in git
https://github.com/nodejs/node-v0.x-archive/issues/3911
First we have install npm
https://www.npmjs.com/
from the npm add a package localtunnel
Sometime the comment give the following error
"/usr/bin/env: node: No such file or directory"
So you need to install nodejs-legacy dependancy
Now, start the localtunnel again
https://custom.localtunnel.me/webhook_receiver
Some of them already discussed about this issue in git
https://github.com/nodejs/node-v0.x-archive/issues/3911
First we have install npm
sudo apt-get install npm
npm is a Package manager. Installs, publishes and manages node programs.https://www.npmjs.com/
from the npm add a package localtunnel
sudo npm install -g localtunnel
lt --subdomain=custom --port 80
Sometime the comment give the following error
"/usr/bin/env: node: No such file or directory"
So you need to install nodejs-legacy dependancy
sudo apt-get install nodejs-legacy
Now, start the localtunnel again
sudo npm install -g localtunnel
lt --subdomain=custom --port 80
https://custom.localtunnel.me/webhook_receiver