Angular Command Line Interface
Installation
sudo npm install -g @angular/cli
Konfiguration
Umgebungsvariable für Google Chrome (Chromium) setzen:
vi ~/.bashrc
Am Ende folgende Zeile hinzufügen:
export CHROME_BIN=/usr/bin/chromium-browser
Verwendung
ng new my-first-project
ng serve
ng test
Probleme
Could not find module "@angular-devkit/build-angular" from
npm install --save-dev @angular-devkit/build-angular
Zurück zu JavaScript