ngx-modialog
ngx-modialog copied to clipboard
AoT: when opening: Uncaught (in promise): Error: No component factory found for CSSBackdrop
Using the bootstrap plugin. Everything fine with normal build. When using AoT compile modal will not open. Gives Uncaught (in promise): Error: No component factory found for CSSBackdrop
Any ideas?
Same here! gone mad last week with the same error..it looks like when aot compiled the modal module get's inserted twice in the compiled code. so you have two instances of the CSSBackdrop (...and many others)in the injector. will try to to understand why the module get's pulled in twice this week (if time available) :)
Same here! Also, @amariniello findings is correct, it seems there are two instances of CSSBackdrop are available. One in CSSBackdropNGFactory.component and one in Module class.
Can anyone suggest a fix for this?
Same here, the factories map is not having correct instance of css backdrop.
Any updates on this issue?