Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy error #38

Open
ousloob opened this issue Jul 16, 2020 · 1 comment
Open

Proxy error #38

ousloob opened this issue Jul 16, 2020 · 1 comment

Comments

@ousloob
Copy link

ousloob commented Jul 16, 2020

When I tried the project since the exercise 9 I have proxy error

Proxy error: Could not proxy request /api/heroes from localhost:8081 to http://localhost:8888. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

this error is driving me crazy

@anothereverr
Copy link

When I tried the project since the exercise 9 I have proxy error

Proxy error: Could not proxy request /api/heroes from localhost:8081 to http://localhost:8888. See https://nodejs.org/api/errors.html#errors_common_system_errors for more information (ECONNREFUSED).

this error is driving me crazy

You have to initialize the project with the command npm run dev not npm run serve, check out the config in the package.json file for the dev command, it's start the server with the backend that has the json database

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

No branches or pull requests

2 participants