Hey Lou, really love this simple version to add a backend to create react app. It's really cool.
I'm having some trouble deploying this to heroku. Is there a particular package.json change I need to make to get this to work? Everything works in development, but when deployed I get an 'invalid host error' rendering on the page with nothing else
My package.json looks like this. I also ran 'npm run build' before deploying.
Re-thinking developer experience • Product @Gitpod 🍊 Helping folks get their start in cloud • @openupthecloud ☁️ AWS Community Builder 🛠 Replies in GIFS 😃
Hey Lou, really love this simple version to add a backend to create react app. It's really cool.
I'm having some trouble deploying this to heroku. Is there a particular package.json change I need to make to get this to work? Everything works in development, but when deployed I get an 'invalid host error' rendering on the page with nothing else
My package.json looks like this. I also ran 'npm run build' before deploying.
Given the popularity of the post, I should probably completely overhaul it. A few things have changed in create-react-app since.
Sounds like this though...
facebook.github.io/create-react-ap...
It's probably an issue with your proxy settings. CRA has changed a few bits with regards to proxies since, it's worth taking a look at their docs.