Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > ngc -p tsconfig-aot.json
- Error: Cannot determine the module for class AppComponent in /usr/local/home/bowenni/workspace/angular2-tour-of-heroes/app/app.component.ts!
- at analyzeAndValidateNgModules (/usr/local/home/bowenni/workspace/angular2-tour-of-heroes/node_modules/@angular/compiler/bundles/compiler.umd.js:24737:19)
- at AotCompiler.compileAll (/usr/local/home/bowenni/workspace/angular2-tour-of-heroes/node_modules/@angular/compiler/bundles/compiler.umd.js:24458:22)
- at CodeGenerator.codegen (/usr/local/home/bowenni/workspace/angular2-tour-of-heroes/node_modules/@angular/compiler-cli/src/codegen.js:30:14)
- at codegen (/usr/local/home/bowenni/workspace/angular2-tour-of-heroes/node_modules/@angular/compiler-cli/src/main.js:8:81)
- at Object.main (/usr/local/home/bowenni/workspace/angular2-tour-of-heroes/node_modules/@angular/tsc-wrapped/src/main.js:47:16)
- at main (/usr/local/home/bowenni/workspace/angular2-tour-of-heroes/node_modules/@angular/compiler-cli/src/main.js:14:16)
- at Object.<anonymous> (/usr/local/home/bowenni/workspace/angular2-tour-of-heroes/node_modules/@angular/compiler-cli/src/main.js:30:5)
- at Module._compile (module.js:413:34)
- at Object.Module._extensions..js (module.js:422:10)
- at Module.load (module.js:357:32)
- Compilation failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement