ERROR in node_modules/@angular/common/http/http.d.ts:2801:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgMo
dule class.
This likely means that the library (@angular/common/http) which declares HttpClientModule has not been processed correctly by ngcc, or is not compatible with A
ngular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expe
cted to be compatible with Ivy.
please help me with this one while I fetching product records from the backend in front ti get this error message please help me to solve it
Acess to XMLHttpRequest at 'http://localhost:3000/api/products?limit=10' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
ERROR in node_modules/@angular/common/http/http.d.ts:2801:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgMo dule class.
ngular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expe cted to be compatible with Ivy.