DEV Community

Play Button Pause Button
Anil Singh
Anil Singh

Posted on

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 -

Top comments (1)

Collapse
 
nelwey profile image
Joel Andres Bonilla Tellez

Thank you sir!!!