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 resolve all parameters for AppComponent #4

Open
vichanse opened this issue Oct 10, 2017 · 13 comments
Open

Can't resolve all parameters for AppComponent #4

vichanse opened this issue Oct 10, 2017 · 13 comments

Comments

@vichanse
Copy link

I'm having this error in app.components.ts file
image

It's like it can't resolve Store from store

image

Any help?

@toddmotto
Copy link
Member

Have you registered it as a Provider? Would need to see some more code though to really help :)

@vichanse
Copy link
Author

Yeah i did. Here is my repo https://github.com/vichanse/angular-pro-app-seed
(i forked yours as stated in the course).
I'm currently on Stateless components and logout functionality of the final project.

@vichanse
Copy link
Author

I cloned your repo and still have the typescript error. The app is working perfectly though.
Probably something related to my local env
image

@toddmotto
Copy link
Member

toddmotto commented Oct 10, 2017 via email

@dexterBEN
Copy link

Good morning,

I have a same error on my current project this is a simple application page but i have this error:
image

@dexterBEN
Copy link

On bottom in the console of my browser , this error is always appear i don't understand the meaning of this(i'm not fluent in english, sorry if you can't understand me).

@himnsuk
Copy link

himnsuk commented Jun 13, 2018

Hi All,

Getting same error while creating AOT build.
Not able to find any solution how to remove this error.

@nik1988
Copy link

nik1988 commented Aug 24, 2018

I am also struggling with same issue i am trying to inject my service into the component

@nik1988
Copy link

nik1988 commented Aug 24, 2018

Found root cause it was happening because of cyclic dependency , i was trying to invoke component from service and trying to inject service in component , this is causing problem

@DevarshiDave
Copy link

Hi, @nik1988 , you're correct, but i am having the same problem without cyclic dependency, any idea what's causing that?

@kraravind167
Copy link

Hi everyone , I'm also facing the same issue

err

@Arbaaz-hub
Copy link

The short solution is you need to re-start the server

@dandiwang
Copy link

restart vscode works for me

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

9 participants