angular2-notifications icon indicating copy to clipboard operation
angular2-notifications copied to clipboard

Error using version 12 in child

Open gzayat opened this issue 2 years ago • 1 comments

We have an error that started in version 12.

I have a component that uses the service to emit messages, the build of this component is generated into a larger 'parent' component, ie it is in node_modules, this parent component after compiled is issuing the following error.

This does not happen in version 9

error

gzayat avatar Nov 05 '21 01:11 gzayat

Can you share a minimum reproducible example? According to the official docs the forRoot pattern is still the standard pattern to provide a service from a library. I don't really get what could be wrong here.

Guerric-P avatar Nov 13 '21 22:11 Guerric-P