None of the ng commads are working anymore in my terminal. I can't generate a new projet ng new ... not working anymore, nor ng serve, etc...
This is the error I get for ng serve/ ng new ... ng --v,
"bash: /c/Users/Dragos/AppData/Roaming/npm/ng: /bin/sh: bad interpreter: No such file or directory"
It's as if the ng commands are not working at all.
I reinstalled node/npm/angular CLI globally and still I get the same error.
I am on windows 8.1 pro.
Sorry if the question is duplicate, I haven't seen a question asking for this specific piece of info.
Thanks
试试这个
ng new ProjectName --version 7
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.