Ubuntu - "/usr/bin/env: ‘node’: No Such File or Directory" - Solved
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
I'm a full-stack developer, entrepreneur and owner of ItSolutionstuff.com. 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, Laravel, Angular, Vue, Node, Javascript, JQuery, Codeigniter and Bootstrap from the early stage. I believe in Hardworking and Consistency.
We are Recommending you
- Ubuntu PHP bz2 Extension Install Commands Example
- Ubuntu PHP bcmath Extension Install Commands Example
- Ubuntu PHP ZIP Extension Install Commands Example
- How to Install PHP XML Extension in Ubuntu?
- How to Increase memory_limit in PHP Ubuntu?
- How to Install Composer in Ubuntu Server?
- How to Export Mysql Database using Command Line in Ubuntu?
- How to Import Database in Mysql using Command Line in Ubuntu?
- How to Upgrade PHP Version from 7.3 to 7.4 in Ubuntu?
- How to Install Laravel in Ubuntu?
- How to Connect MySQL Database in Node JS?
- Laravel Authenticate User in NodeJS with Socket io using JWT
- How to Get php.ini File Path in Ubuntu?
- How to Upgrade Node.js Version in Ubuntu?
- How to Use Foreach Object in Node.js?