ngx-image-editor icon indicating copy to clipboard operation
ngx-image-editor copied to clipboard

Error: Uncaught (in promise): Error: BrowserModule has already been loaded

Open XemaA opened this issue 6 years ago • 7 comments

I imported NgxImageEditorModule and I get this 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.

I checked my code and I verified that BrowserMOdule was imported only once in the app.module

XemaA avatar Jun 29 '18 11:06 XemaA

Same issue for me.

Did you find any solution for this yet?

DanielSoCra avatar Aug 08 '18 10:08 DanielSoCra

I have deleted the Import of BrowserAnimationsModule in

ngx-image-editor/esm2015/ngx-image-editor.js

and

ngx-image-editor/esm5/ngx-image-editor.js

aswell as the reference and it works all fine.

Why is it imported here anyway?

DanielEberl avatar Aug 08 '18 13:08 DanielEberl

I suppose it's a compatibility issue. I'll repackage the module without BrowserAnimations and see if it still works.

hggeorgiev avatar Aug 10 '18 08:08 hggeorgiev

Even I'm facing this issue.

By when can we expect the repackage module?

sivajiyerra avatar Aug 28 '18 09:08 sivajiyerra

Facing the same issue any solution yet?

taimoor99 avatar Sep 05 '19 07:09 taimoor99

Facing the same issue any solution yet?

lramondev avatar Feb 21 '20 17:02 lramondev

3promise-controller.ts:30 Uncaught (in promise) Error: Runtime module already loaded how can fix this ?

Abdulwasia avatar Dec 25 '23 13:12 Abdulwasia