Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

[HPM] Error occurred while trying to proxy request /api/courses from localhost:4200 to http://localhost:9000 (HPE_INVALID_CONSTANT) #8

Open
KoenMeijer opened this issue May 19, 2019 · 1 comment

Comments

@KoenMeijer
Copy link

When I try to start the application I get the following error message: [HPM] Error occurred while trying to proxy request /api/courses from localhost:4200 to http://localhost:9000 (HPE_INVALID_CONSTANT) (https://nodejs.org/api/errors.html#errors_common_system_errors)

I tried to use another port, and switched localhost for 127.0.0.1 but without success. What can I do about it?

@harshalslimaye
Copy link

@KoenMeijer Try running npm run server along with npm start in two separate terminals.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants