Angular CLI wont create new project

前端 未结 11 1320
有刺的猬
有刺的猬 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:59

    In windows cd/User,Find the package.json,package-lock.json file and delete both the files.

    Restart your command prompt and you are ready to go.And try to use this command

    npm install --save-dev @angular/cli@latest

提交回复
热议问题