create-react-app: Proxy not working

Expected behavior

fetch() should work correctly.

Actual behavior

I got 404 NOT FOUND.

Environment

create-react-app: v0.4.3 React-scripts: v0.4.3 Node: v4.4.7 npm: v3.8.3

Operating system: Windows

image

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 21 (5 by maintainers)

Most upvoted comments

¯_(ツ)_/¯

@shime Could I restart your computer to solve my problem, thanks:) still struggling with this problem

Wow, this is interesting. Had the exact same problem and solved it by restarting a computer too. No idea what’s going on here.

I restarted my computer, and it works fine now. Not sure what’s happed.

wtf. why would restarting your computer work? can somebody get to the bottom of this? Is there some kind of caching that can help?