Versuchen folgenden Befehl ausführen für AOT implementieren in angular2Erste Fehler beim Durchlauf Winkel/Compiler-cli Befehl
npm install @angular/compiler-cli [email protected] @angular/platform-server @angular/compiler
aber gibt mir Fehler, auch können Sie mich Schritt für Schritt geben, wie ich die Anwendung kompilieren für AOT
, wie auch ich kann laufen die node_modules/.bin/ngc -p TSconfig-aot.json Befehl
UNMET PEER DEPENDENCY [email protected] invalid
npm WARN @angular/[email protected] requires a peer of [email protected]^2.0.2 but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of [email protected]^2.0.2 but none was installed.
Folgen Sie den Schritten von https://angular.io/docs/ts/latest/cookbook/aot-compiler.html – Ar123