This solved it for me
npm cache clean --force
then run
npm install -g @angular/cli@latest
ng new 'your-angular-app-name'
This solved it for me
npm cache clean --force
then run
npm install -g @angular/cli@latest
ng new 'your-angular-app-name'
转载于:https://www.cnblogs.com/begin256/p/11184563.html