Solved Issue - "/usr/bin/env: ‘node’: No such file or directory"

By Hardik Savani | February 24, 2017 | Category : Installation Ubuntu Node JS React JS

In this post i want to share one issue that i fetch. When i started working on my react js project first time on my ubuntu 16.04, i installed npm and then after i run bellow command:

npm install -g create-react-app

this way i installed create-react-app then after i created new command using create-react-app commands, so i run bellow command for create new app of reactjs.

create-react-app hello-world

But when i run above command i found one error

"/usr/bin/env: ‘node’: No such file or directory". I thought what will be issue, i searched on google and finally i found how to solve this issue.

I found i have to install node. We can install by following command:

apt-get install nodejs-legacy

After run above command, i solved my issue. I hope it can help you...

Hardik Savani
My name is Hardik Savani. I'm a full-stack developer, entrepreneur and owner of Aatman Infotech. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.
Follow Me: Github Twitter
***Do you want me hire for your Project Work? Then Contact US.

We are Recommending you: