themyth92 / ngx-lightbox

Lightbox2 use with angular >= 5
MIT License
115 stars 66 forks source link

No Provider For LightBox #52

Open bennawanda opened 4 years ago

bennawanda commented 4 years ago

Hi maintainer,

We are using LightBox in our project, as part of an in-house library. So The issue as stated in the title is that when we use lightbox, as a DI in our shared library, which is then imported in other libraries and parts of the project, when building, we are getting the above error.

This is a case when migrating to Angular 9 from Angular 8, which was compiling without the above error.

Any help would be appreciated, thanks.