Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get ngx-bootstrap to work in plugin #41

Open
kcsampson opened this issue Nov 2, 2020 · 0 comments
Open

Can't get ngx-bootstrap to work in plugin #41

kcsampson opened this issue Nov 2, 2020 · 0 comments

Comments

@kcsampson
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant