when update rc5 to rc6, the lazy-load module throw a error
See original GitHub issuethe lazy load module BoardModule need NgIf directives, so I import CommonModule, the AppModule aslo import BrowserModule. then throw below error:
Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead
It is a bug or use fail? thx
- Angular version: 2.0.0-rc.6
- Browser: Chrome 52
- Language: TypeScript 1.8.10
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
BrowserModule has already been loaded Error - Stack Overflow
I'm using lazy loading and my application is broken up in to a lot of lazy loaded modules. However in RC5 everything worked...
Read more >Lazy-loading feature modules - Angular
A common error when lazy-loading modules is importing common modules in multiple places within an application. Test for this condition by first generating...
Read more >angular/material2 - Gitter
managed to upgrade everything fine, still having an error: Uncaught Error: ... I have AngularMaterial2 with RC5(soon to be RC6) implemented and it...
Read more >Issues for Open Social | Drupal.org
Title Status Priority Category
Translation field needs to be installed Closed (fixed) Normal Support request
The counter on the Group membership is not working Closed...
Read more >Angular – BrowserModule has already been loaded Error
I'm using lazy loading and my application is broken up in to a lot of lazy loaded modules. However in RC5 everything worked...
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 Free
Top 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
use
BrowserModule
in rootModule and others useCommonModule
from ‘@angular/common’This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.