Zainstaluj CLI kątowe
npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
ng serve
2 Programmers 1 Bug
npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
ng serve
/* @latest is optional */
npm install -g @angular/cli@latest
Install Specific Version (Example: 6.1.1)
npm install -g @angular/[email protected]
npm install -g @angular/cli //make sure you have node/npm installed
ng new <appname> // eg: ng new my-app
cd <appname> // cd my-app
ng serve
Please take the following steps to avoid issues:
"npm install --save-dev @angular/cli@latest"
npm i -g @angular/cli
ng new <app-name>
cd <app-name>
ng serve