Installation

Solved Issue - /usr/bin/env: Node: No Such File Or Directory

In this tutorial i want to share one Installation issue of Ubuntu, Node JS and React JS. Follow this tutorial for easy to installation with ubuntu,Node JS and React JS.

  • 4.5/5.0
  • Last updated 10 September, 2022
  • By Admin

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...