angular-university / ngrx-course

NgRx (with NgRx Data) -The Complete Guide
https://angular-university.io/course/ngrx-course
MIT License
383 stars 554 forks source link

ECONNREFUSED #56

Closed RayGar7 closed 5 months ago

RayGar7 commented 6 months ago

When pulling from the 1-auth-finished branch and then running npm install --legacy-peer-deps I can start the server with npm start normally and see the web page in the local host but when trying to sign in from the login page I get the following error:

[webpack-dev-server] [HPM] Error occurred while proxying request localhost:4200/api/login to http://localhost:9000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors) [webpack-dev-server] [HPM] Error occurred while proxying request localhost:4200/api/login to http://localhost:9000/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)

Could it be a backend issue?

RayGar7 commented 5 months ago

Update: it turns out I forgot to start the backend with npm run server