danielschmitz / my-sales-aapp

This is the project from my book Angular from Scratch
https://leanpub.com/book-angular/
7 stars 2 forks source link

chapter 5.9 Another way to load async data. #5

Closed sshakibi closed 2 years ago

sshakibi commented 2 years ago

I am getting the following error , I copied and pasted your files but still am getting the error I also uploaded my project to git hub.

Error: NG0302: The pipe 'async' could not be found in the 'CategoriesLoadingAsyncComponent' component. Verify that it is declared or imported in this module.

https://github.com/sshakibi/MedTrackPro.git

thanks in advance.

danielschmitz commented 2 years ago

Hi,

I believe Angular has made some confusion in your project due to the main/src/app/src/app directory. It seems to be duplicated. I cloned your repository, deleted the main/src/app/src directory, reorganized the imports, and async worked.

sshakibi commented 2 years ago

Thank you so much

From: Daniel Schmitz @.> Sent: Thursday, August 4, 2022 8:14 AM To: danielschmitz/my-sales-aapp @.> Cc: Shervin Shakibi @.>; Author @.> Subject: Re: [danielschmitz/my-sales-aapp] chapter 5.9 Another way to load async data. (Issue #5)

Hi,

I believe Angular has made some confusion in your project due to the main/src/app/src/app directory. It seems to be duplicated. I cloned your repository, deleted the main/src/app/src directory, reorganized the imports, and async worked.

— Reply to this email directly, view it on GitHubhttps://github.com/danielschmitz/my-sales-aapp/issues/5#issuecomment-1205173138, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABI7YO3FYDHPJTS5LRGILHLVXOXYXANCNFSM55QE5R3Q. You are receiving this because you authored the thread.Message ID: @.**@.>>