Angular2 npm start not working Ubantu


Angular2 npm start not working Ubantu(Linux): We sometimes face issue when working with Angular2 npm command in Ubantu. This happens if you apt-get install nodejs package from Ubuntu(linux). This issue may be due to version problem. Here is a quick fix for it.


Angular2 npm start not working Ubantu Fix

You can fix the following issue by the command below –

Errors/Warnings That occurred in my case :

1. concurrent “npm run tsc:w” “npm run lite”

/usr/bin/env: node: No such file or directory

2. This failure might be due to the use of legacy binary “node”

I run this and it fixed for me –

AngularJs 2 npm start not Working Example:

sudo ln -s /usr/bin/nodejs /usr/bin/node

Advertisements

Add Comment

📖 Read More