Angular CLI wont create new project

前端 未结 11 1243
有刺的猬
有刺的猬 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 03:01

    The first warning regarding graceful-fs is due to the fact that angular-cli uses older version of graceful-fs pkg, nothing to worry about that.

    The error "You cannot use the new command inside an angular-cli project" signifies you are inside an angular cli project, get out of the angular cli project using cd .. command and try running the command ng new ngadmin it will work.

提交回复
热议问题