[Angular2 / 4/8] to create solutions jammed with ng new project

 

Official Documents 

English version: Https://Angular.Io/guide/quickstart 

Chinese version: https://angular.cn/guide/quickstart

 

Installing packages for tooling via npm.

 

When you create a new project, this step you need to install dependencies by npm, then stuck

 

Solution:

ng new my-app --skip-install 
and then enter my-app items, do cnpm install install dependencies (of course, first you have to install global cnpm)

 

If the sentence is not, by ng new --help find jammed corresponding to that step of the command, skip

 

Guess you like

Origin www.cnblogs.com/onew/p/11330450.html