Since httpClientModule is deprecated in Angular 18, I use provideHttpClient from ‘@angular/common/http’ as It is indicated and provide it as ‘providers’ in my page module. No error is shown-
But when I run the app, there is an error ‘No provider for HttpClient’.
I looked possible solutions in several post but none works.
Could you help me?
Best regards,
Ricardo C.
1 Like
Hello i have the same problem if someone has a fix i am
waiting form it thank u!
The documentation for proper setup is here - Angular. If you need additional help, you’ll need to share some code.