Hello Devs,
In this tutorial, we will tackle the problem, "/usr/bin/env: ‘node’: No such file or directory"
Follow this step by step guide below.
install npm and then run below command:
npm install -g create-react-app
run below command to create new app of reactjs.
create-react-app hello-world
If we get the error after this.
We can install by following command:
apt-get install nodejs-legacy
May this example help you