Open grinono opened 8 years ago
Related to #608
I have the same issue, my stack consists of: 1.Meteor 1.4.2 2.Deployment with kadirahq/meteor-up - (https://github.com/kadirahq/meteor-up) 3.ReactJS 4.FlowRouter (kadira:flow-router)
It works great if i run it locally, but when It successfully deploy to Digital Ocean I get a blank screen with a console error "There is no route for the path: /"
The solution for me was to start using react router. Its a drop in replacement for flowrouter. As fast, as easy but more support and better documentation.
Hey @grinono thank you for responding, I was able to get it working. I had materialize meteor packet and mui design packet (this one was installed via npm) that I removed. After i did a clean cache of my meteor npm_modules folder. I reinstalled all my npm packets with --save(Except the two that I previously removed). When I uploaded the app to the server everything was working.
Hope this helps someone.
[edit] I downgraded Bootstrap to the latest v3 and the error was resolved. I believe this is due to an error (described here: https://github.com/twbs/bootstrap/issues/18732) that is thrown in the console when using Bootstrap 4 - "Bootstrap tooltips require Tether." How this affects Flow Router is beyond me, as it seems like a soft error.
Not sure if this will help anyone, but my app started working correctly after I removed Bootstrap from a /main/client/lib/bootstrap/ folder. Somehow it was interfering with the normal operation of Flow Router.
I had the same error after a major refactor, and thought FlowRouter was to blame. The internals of FlowRouter are very light though so figured something else was causing it.
I wound up opening Safari in mobile debugging mode to see if there were any additional errors thrown. I was getting a InAppPurchase
is not defined. This is an object I was using from a cordova plugin. It turns out after the refactor using imports, the app was loading much faster (before the InAppPurchase
object was available to Cordova). Changing all references from InAppPurchase
to global.InAppPurchase
resolved my issue. Hope this helps someone else.
Hi!
I didn't find the solution for this problem by anything here, but after 8 hours of hacking, i solved it.
I removed the following problematic packages: aldeed:autoform gwendall:auth-client-callbacks dsyko-jquery-ui-touch
My tip for anyone who needs to figure out their own way of solving this bug:
"meteor run --production"
Good luck! / Devmattb
when i'm building for production flowrouter gives a "There is no route for the path: /" In development mode all is working as expected.
running:
currently testing the bug with;
meteor run --production --settings settings-production.json
Try to solve it with; 1) change the routes.js file location to /import/clients/routes.js 2) change between mup/mupx and new mup deployment.. 3) change to flowrouter ServerSideRendering 4) check for any Ready()
If anyone found a solution for the "There is no route for the path: /" in production bundling. That would be great.