Nullinjectorerror no provider for httpclient Angular 17 | How to fix this Error

anilsingh

Anil Singh

Posted on March 20, 2024

Nullinjectorerror no provider for httpclient Angular 17 | How to fix this Error

In Angular 17 where the standalone true option is set by default, the app.config.ts file is generated in src/app/ and provideHttpClient(). We can be added to the list of providers in app.config.ts

Reference links -

💖 💪 🙅 🚩
anilsingh
Anil Singh

Posted on March 20, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related