Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular cli - ng command open the ng file

I have an Angular project and if I want to start the project with 'ng serve' it is opening the ng file from

C:\Users{user}\AppData\Roaming\npm\node_modules\@angular\cli\bin

Also, I can start the project with 'npm start'.

like image 453
Filip Laurentiu Avatar asked Nov 25 '25 06:11

Filip Laurentiu


1 Answers

Remove path "C:\Users{user}\AppData\Roaming\npm\node_modules@angular\cli\bin" from Environment variable - path. It worked for me.

like image 190
Sahithi Y Avatar answered Nov 28 '25 03:11

Sahithi Y



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!