angular-plugin-architecture icon indicating copy to clipboard operation
angular-plugin-architecture copied to clipboard

Can't get ngx-bootstrap to work in plugin

Open kcsampson opened this issue 5 years ago • 0 comments

Using the Angular 8 cli branch.

I'm trying to get anything from ngx-bootstrap to simply work in a plugin, even if the plugin imports the entire library.

I was able to get @angular/material working just fine.

Placing an entry linke 'ngx-bootstrap' in externals doesn't do the trick. I get:

ERROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError(AppModule)[t -> function(){}]: StaticInjectorError(Platform: core)[t -> function(){}]: NullInjectorError: No provider for function(){}! NullInjectorError: StaticInjectorError(AppModule)[t -> function(){}]: StaticInjectorError(Platform: core)[t -> function(){}]: NullInjectorError: No provider for function(){}! at NullInjector.push../node_modules/@angular/core/fesm5/core.js.NullInjector.get

kcsampson avatar Nov 02 '20 17:11 kcsampson