Building-an-extensible-dynamic-pluggable-enterprise-application-with-angular

Hi, Excelent article @yurzui ! I´m playing with the sample code and when I added a simple service that ust the http client to the plugin1, provide in the plugin1 module, I 'd got this error:

core.js:15724 ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[t -> t]:
StaticInjectorError(Platform: core)[t -> t]:
NullInjectorError: No provider for t!
Error: StaticInjectorError(AppModule)[t -> t]:
StaticInjectorError(Platform: core)[t -> t]:

It seems that the plugin architecture can´t resolve the service. I tried "provideIn: ‘root’, and also to provide it in the component with the same result. Any direction on where I can find a solution to this?

Thanks in advance

1 Like