Angular CLI wont create new project

前端 未结 11 1251
有刺的猬
有刺的猬 2021-01-19 02:23

I am trying to create a project (named ngadmin) via the angular cli but it throws errors on this command: ng new ngadmin. The errors are:

11条回答
  •  广开言路
    2021-01-19 02:57

    i had the same problem today, I started a fresh project and did

     npm install -save @angular/cli
    

    and received the error. I just renamed the package.json to .json2 temporarily and it worked.

提交回复
热议问题