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

Here's a way to solve proxy settings in package.json #15

Open
lopeselio opened this issue Sep 6, 2020 · 1 comment
Open

Here's a way to solve proxy settings in package.json #15

lopeselio opened this issue Sep 6, 2020 · 1 comment

Comments

@lopeselio
Copy link

lopeselio commented Sep 6, 2020

123
You get an eroor shown below:

Captudfsdre
change it to a string format :
"proxy": "http://localhost:3002/api",

Captufre

This would resolve the issue.

@Samad-Ansari
Copy link

Samad-Ansari commented Apr 25, 2024

Here is the solution i found in StackOverflow

  1. Stop your React app
  2. Delete package-lock.json file and the node_modules directory by doing
    rm -r package-lock.json node_modules in the app directory.
  3. Then do npm install in the app directory.

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