Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error saying that Browser module is already loaded #2

Open
patch321 opened this issue Dec 3, 2018 · 1 comment
Open

Error saying that Browser module is already loaded #2

patch321 opened this issue Dec 3, 2018 · 1 comment

Comments

@patch321
Copy link

patch321 commented Dec 3, 2018

I'm getting the following error when using this package...

"zone.js:484 Unhandled Promise rejection: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module..."

I've noticed that changing the BrowserModule import to CommonModule in the ngx-flyout.js file in the fesm5 folder seems to fix the error, though.

@AndreaAnge
Copy link

AndreaAnge commented May 7, 2019

I'm having the same issue. BrowserModule should be imported only once in app.module.ts, lazy loaded modules and shared should import CommonModule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants