Angular CLI ng new error

后端 未结 5 1682
执念已碎
执念已碎 2020-12-12 02:31

I\'ve installed node from https://nodejs.org/en/download and then I installed angular CLI via NPM using

npm instal         


        
5条回答
  •  既然无缘
    2020-12-12 03:14

    Try to use an older version of Angular CLI until this problem get solved.

    You can follow this issue in https://github.com/angular/angular-cli/issues/9172.

    EDIT: I found a solution, run these commands:

    npm un -g @angular/cli
    npm cache clean --force
    npm i -g @angular/cli
    

    It worked for me.

提交回复
热议问题