angular-pro-app-seed icon indicating copy to clipboard operation
angular-pro-app-seed copied to clipboard

Can't resolve all parameters for AppComponent

Open vichanse opened this issue 8 years ago • 13 comments

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

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

image

Any help?

vichanse avatar Oct 10 '17 07:10 vichanse

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

toddmotto avatar Oct 10 '17 13:10 toddmotto

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 avatar Oct 10 '17 13:10 vichanse

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

vichanse avatar Oct 10 '17 14:10 vichanse

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 [email protected] 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

toddmotto avatar Oct 10 '17 14:10 toddmotto

Good morning,

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

dexterBEN avatar Mar 05 '18 15:03 dexterBEN

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).

dexterBEN avatar Mar 05 '18 15:03 dexterBEN

Hi All,

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

himnsuk avatar Jun 13 '18 07:06 himnsuk

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

nik1988 avatar Aug 24 '18 16:08 nik1988

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

nik1988 avatar Aug 24 '18 16:08 nik1988

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

DevarshiDave avatar Sep 06 '18 08:09 DevarshiDave

Hi everyone , I'm also facing the same issue

err

kraravind167 avatar Nov 12 '18 13:11 kraravind167

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

Arbaaz-hub avatar Jan 05 '21 06:01 Arbaaz-hub

restart vscode works for me

dandiwang avatar Jun 01 '21 05:06 dandiwang