You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.
NODE_ENV=production npm run compile
npm run server:start
Gives the following error(s)
Error: Invariant Violation: Server-side <Router>s need location, branch, params, and components props. Try using Router.run to get all the props you need
Hey, thanks for catching this... my browser had been caching my favicon so I never encountered it. I just added a fix b599fa8 so the server should no longer choke if react-router returns an undefined initialState.
Adding a favicon also would have fixed this (and I will do that soon as well) but this should be a more robust solution in case any other invalid routes get passed through to the router.
Gives the following error(s)
I suppose it is related to remix-run/react-router#1455
The text was updated successfully, but these errors were encountered: