Skip to content

issue with lazy loaded module in angular 13 #392

Closed
@cavone-leonardo

Description

@cavone-leonardo

Use Case

I reproduced the problem in this example:

Description

Using angular2-notifications version 12 in a lazy loaded module, you get the following error:

ERROR Error: Uncaught (in promise): 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.

Angular v. 13.2.5

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions