Try to run following command for implement AOT in angular2
npm install @angular/compiler-cli typescript@next @angular/platform-server @angular/compiler
but gives me error, also can you give me step by step how i compile application for AOT
Also how i can run the node_modules/.bin/ngc -p tsconfig-aot.json command
UNMET PEER DEPENDENCY [email protected] invalid
npm WARN @angular/[email protected] requires a peer of typescript@^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 typescript@^2.0.2 but none was installed.