Alpha 9 AoT compiler error
See original GitHub issueHey guys,
- I updated to the new Alpha 9, upgraded to the single Material Module. So far, things work great in development.
BUT: running the AoT compiler results in errors: (compiler-cli 0.6.2):
Error: parameters received {"filePath":"/Users/lrj/projects/angular2-webpack2-typescript2/node_modules/@angular/material/core/a11y/live-announcer.d.ts","name":"MdLiveAnnouncer"} which is not a StaticSymbol
at StaticReflector.parameters (/Users/lrj/projects/angular2-webpack2-typescript2/node_modules/@angular/compiler-cli/src/static_reflector.js:92:19)
at CompileMetadataResolver.getDependenciesMetadata (/Users/lrj/projects/angular2-webpack2-typescript2/node_modules/@angular/compiler/bundles/compiler.umd.js:14336:81)
at CompileMetadataResolver.getTypeMetadata (/Users/lrj/projects/angular2-webpack2-typescript2/node_modules/@angular/compiler/bundles/compiler.umd.js:14301:28)
at /Users/lrj/projects/angular2-webpack2-typescript2/node_modules/@angular/compiler/bundles/compiler.umd.js:14448:43
at Array.forEach (native)
at CompileMetadataResolver.getProvidersMetadata (/Users/lrj/projects/angular2-webpack2-typescript2/node_modules/@angular/compiler/bundles/compiler.umd.js:14428:21)
at /Users/lrj/projects/angular2-webpack2-typescript2/node_modules/@angular/compiler/bundles/compiler.umd.js:14435:43
at Array.forEach (native)
at CompileMetadataResolver.getProvidersMetadata (/Users/lrj/projects/angular2-webpack2-typescript2/node_modules/@angular/compiler/bundles/compiler.umd.js:14428:21)
at /Users/lrj/projects/angular2-webpack2-typescript2/node_modules/@angular/compiler/bundles/compiler.umd.js:14120:73
Compilation failed
Anyone stumbled across this?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:15 (4 by maintainers)
Top Results From Across the Web
Unable to find player assembly BURST AOT Compiler
When building for IOS platform Unity throws me this warning. I disabled Burst compilation in (Project settings > Burst AOT Settings) and the ......
Read more >Angular2 AoT Compilation Error: createAotCompiler is not a ...
I am trying to follow the AOT compilation guide on the angular.io ... (path\node_modules\@angular\compiler-cli\src\main.js:14:9) at Module.
Read more >AoT compiler error: a leaf Variable that requires grad is being ...
I'm experimenting with the AoT compiler functorch.compile (experimental) — functorch 0.2.1 documentation and I'm trying to see if it can ...
Read more >AOT metadata errors - Angular
The compiler encountered a referenced to a locally defined symbol that either wasn't exported or wasn't initialized. Here's a provider example of the...
Read more >AOT Compilation Succeeds - But Import Still Slow
In a library I'm building, Numba AOT compilation succeeds, but the initial import of ... zip_safe=False, classifiers=[ "Development Status :: 3 - Alpha", ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m unable to compile aswell. Appears to be a similar issue to @szechyjs.
using these angular modules
And this
ng cli
versionI just tried alpha.9-3 and got the following error from
ng build -aot