Can't compile with Angular 9 (next7)
See original GitHub issue'agm-map' is not a valid HTML element.
Also, even though I serve my application in AOT mode, I get this error message in the console when I have the AgmCoreModule imported. (Nothing else, just the Module import)
main.ts:12 Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
- JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
- Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
- Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.
at getCompilerFacade (core.js:542)
at convertDependencies (core.js:16371)
at reflectDependencies (core.js:16363)
at Function.get (core.js:16484)
at getInjectableDef (core.js:361)
at injectableDefOrInjectorDefFactory (core.js:17198)
at providerToFactory (core.js:17318)
at providerToRecord (core.js:17263)
at R3Injector.processProvider (core.js:17084)
at core.js:17049
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Can't compile with Angular 9 (next7) · Issue #1728 - GitHub
main.ts:12 Error: Angular JIT compilation failed: '@angular/compiler' not loaded! - JIT compilation is discouraged for production use-cases!
Read more >angular 9 fails to bind when aot compile is used - Stack Overflow
It seems that the inline html declared in the template cannot be set this way. Placing the html into it's own file and...
Read more >Angular compiler options
When you use ahead-of-time compilation (AOT), you can control how your application is compiled by specifying template compiler options in the TypeScript ...
Read more >Guide Leading Up to Angular 9.0.0 Release - HUSPI
Changes up to Angular 9.0.0, including bug fixes, breaking changes, deprecations, code refactoring, features, and performance improvements.
Read more >jest-preset-angular - Bountysource
2, npm install fails ERESOLVE unable to resolve dependency tree ... 9.0.0-next.6 was working, next.7 gives TypeError: Cannot read property 'before' of ...
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
Ok, it seems to work with rc.1. If anyone is still having problems, message here and I’ll reopen
it only work if I add
import '@angular/compiler';
tomain.ts
. What’s wrong?