There is no route for path '/' on production

#1

I am using flowrouter + react + meteor. I don’t have any errors in development.

But when i host or simulate production, then i am getting the error There is no route for path ‘/’

I found many similar issues. But the solutions mentioned in them is not working for me. like placing router.jsx inside /lib folder. If i place, it complains about the imports. If i use If(Meteor,isClient) then there is no error. But nothing shows in my app. Just blank screen.

Any solution for this error?

#2

I have same problem. Nothing helps :angry:

#3

Its an error with the flowrouter package.

Use react-router if you are using react.

#4

That is weird because i deployed about 3 weeks ago and Flow-router worked.

#5

I think I solved it. Check out my answer, at another git thread: https://github.com/kadirahq/flow-router/issues/608#issuecomment-432667369