ultimatecourses / angular-pro-app-seed

Seed project for Angular Pro final application
112 stars 360 forks source link

Can't resolve all parameters for AppComponent #4

Open vichanse opened 6 years ago

vichanse commented 6 years ago

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 commented 6 years ago

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

vichanse commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Hmm, looks like VSCode playing up. It's happened to me a few times, I usually restart it and maybe the laptop if it continues :)

On 10 October 2017 at 15:57, vichanse notifications@github.com wrote:

I cloned your repo and still have the typescript error. The app is working perfectly though. Probably something related to my local env [image: image] https://user-images.githubusercontent.com/26761479/31393455-0bc62414-addc-11e7-9141-02e645ec425d.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/UltimateAngular/angular-pro-app-seed/issues/4#issuecomment-335500800, or mute the thread https://github.com/notifications/unsubscribe-auth/ABlEoPVoPCyDn-YrZBmOlCavBayEw-vCks5sq4XVgaJpZM4Pzdjh .

-- @toddmotto

dexterBEN commented 6 years ago

Good morning,

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

dexterBEN commented 6 years ago

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 commented 6 years ago

Hi All,

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

nik1988 commented 6 years ago

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

nik1988 commented 6 years ago

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 commented 5 years ago

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

kraravind167 commented 5 years ago

Hi everyone , I'm also facing the same issue

err

Arbaaz-hub commented 3 years ago

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

dandiwang commented 3 years ago

restart vscode works for me