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

I'm getting an error as "Invalid provider for the NgModule 'AppModule'" #69

Open
Harsha-Vardhan-Sai-Ram opened this issue Oct 29, 2020 · 0 comments

Comments

@Harsha-Vardhan-Sai-Ram
Copy link

when I run my app I get the following error:

Error: Invalid provider for the NgModule 'AppModule' - only instances of Provider and Type are allowed, got: [..., ..., ?[object Object]?, ...]
at throwInvalidProviderError (core.js:5455)
at providerToFactory (core.js:11347)
at providerToRecord (core.js:11318)
at R3Injector.processProvider (core.js:11216)
at core.js:11202
at core.js:1135
at Array.forEach ()
at deepForEach (core.js:1135)
at R3Injector.processInjectorType (core.js:11202)
at core.js:11009

while compilation it didn't show any errors

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