There is no route for the path: /
See original GitHub issueI am testing you package and switched out to default kadira:flow-router
package for yours. Everything else stayed the same and I am getting the following error in the console:
There is no route for the path: /
here is how I have the routes file configured:
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
import { BlazeLayout } from 'meteor/kadira:blaze-layout';
const allRoutes = FlowRouter.group({
prefix: '',
name: 'defaultRoutes',
triggersEnter: [function () {
Meteor.defer(function () {
$('body').addClass('theme-cyan');
});
}],
});
BlazeLayout.setRoot('body');
// Set up all routes in the app
allRoutes.route('/', {
name: 'App.home',
action() {
BlazeLayout.render('App_body', { main: 'App_home', top: 'navbar', toolbar: 'toolbar', side: 'sidemenu' });
},
});
Switching back to the kadira package resolves the error.
Am I missing something?
Thanks.
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Error : There is no route for the path: / · Issue #608 - GitHub
I have updated Meteor to Meteor 1.3.2.4. and facing the issue. Error : There is no route for the path: / I tried...
Read more >Kadira Flow Router "There is no route for the path
"It looks like main.js doesn't even include the routes.js." then write throw new Error() in routes.js and see, if the error ...
Read more >There is no route for path '/' on production - Meteor forums
I am using flowrouter + react + meteor. I don't have any errors in development. But when i host or simulate production, then...
Read more >Route - Angular
A configuration object that defines a single route. A set of routes are collected in a Routes array to define a Router configuration....
Read more >Defining Your Routes - Ember Guides
There is no need to add an entry this.route('index', { path: '/' }); in app/router.js file. The index route is implicitly included in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, removing original flowRouter, I no longer have the error. Unless I am mistaken, it’s not specified in the documentation. Thank your for your help!
Did as you suggested and everything works now, including the transitions.
Thanks for the help and great package!