Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Router tries to run before route is even defined #733

Open
pociej opened this issue Mar 29, 2018 · 0 comments
Open

Router tries to run before route is even defined #733

pociej opened this issue Mar 29, 2018 · 0 comments

Comments

@pociej
Copy link

pociej commented Mar 29, 2018

in one of my client files :

import { FlowRouter } from 'meteor/kadira:flow-router';
import { BlazeLayout } from 'meteor/kadira:blaze-layout';

console.log("some log"); 

FlowRouter.route('/entry',{
  name : 'entry',
  action : function(params) {
    console.log("on entry");
  },
}); 

what i see as output FlowRouter throws error that there is no route /entry and after few ms is runs above file which makes it completly unusable. Its first time i met this problem, sounds like some problem with builder?

screen shot 2018-03-29 at 17 41 02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant