I experienced this issue quite a few times, and I figured it’s because of the cache. To solve the issue, do the following
Edit: @mkoe said that he was able to solve this issue simply by deleting the package-lock.json file, and restarting the app, so give that a try first. If that doesn’t resolve it, then do the following.
- Stop your React app
- Delete package-lock.json file and the node_modules directory by doing
rm -r package-lock.json node_modules
in the app directory. - Then do
npm install
in the app directory.
Hopefully this fixed your proxy issue.