-
Notifications
You must be signed in to change notification settings - Fork 320
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
Could not proxy request #18
Comments
Getting (basically) this when deployed to Heroku. |
Try installing cors and adding it as a middleware in your server.js.
|
Adding the following two lines to users.js and plaid.js just after your variable definitions worked for me.
Then add the following (same thing but using app) to server.js right under variable definitions:
|
To fix this issue: Within your
Then, in
Hope that helped! |
In package.json scripts, changing "server" scripts from "nodemon server.js" to "node server.js" solved the issue for me. Doubt whether nodemon has some conflicts with proxy. |
same for me |
Getting this error when trying to register a user after initial install:
Proxy error: Could not proxy request /api/users/register from localhost:3000 to http://localhost:5000
The text was updated successfully, but these errors were encountered: