Angular Command Line Interface: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 31: | Zeile 31: | ||
<pre> | <pre> | ||
ng test | ng test | ||
</pre> | |||
== Probleme == | |||
=== Could not find module "@angular-devkit/build-angular" from === | |||
<pre> | |||
</pre> | </pre> | ||
Zurück zu [[JavaScript#Programme|JavaScript]] | Zurück zu [[JavaScript#Programme|JavaScript]] |
Version vom 17. August 2018, 12:27 Uhr
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