question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

There is no route for the path: /

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
nacimgouracommented, Jul 26, 2017

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!

1reaction
odeseycommented, Feb 20, 2017

Did as you suggested and everything works now, including the transitions.

Thanks for the help and great package!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found