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
Zurück zu JavaScript