ngx-rocket / generator-ngx-rocket

:rocket: Extensible Angular 14+ enterprise-grade project generator
https://ngx-rocket.github.io/
MIT License
1.53k stars 217 forks source link

Proxy issue on default app #516

Closed dhameergovind closed 4 years ago

dhameergovind commented 4 years ago

I'm submitting a...

Current behavior

I am getting the following error right out the box. As soon as the app tries to connect to the chuck norris api, I see the following error in the terminal [HPM] Error occurred while trying to proxy request /jokes/random?category=dev from localhost:4200 to https://api.chucknorris.io (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)

Expected behavior

Should not see above error, connecting to the api from localhost should work

Minimal reproduction of the problem with instructions

Just clone the base app(https://github.com/ngx-rocket/starter-kit.git), build and run

sinedied commented 4 years ago

Just tried and I cannot reproduce the issue. 2 possibilities comes to my mind: