Solved Issue – “/usr/bin/env: ‘node’: No such file or directory”

[et_pb_section bb_built=”1″ admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

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.

[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]

Leave a Reply

Your email address will not be published. Required fields are marked *