javascript - Meteor Routing Error : There is no route for the path: / -


i have updated meteor meteor 1.3.2.4. , facing issue. have updated packages in latest version.

error : there no route path: /

i tried both in both environment "meteor" , "meteor run --production" same error displayed in console.

i have installed following packages.

accounts-oauth                   1.1.12  common code oauth-based login services accounts-password                1.1.8  password support accounts autopublish                      1.0.7  (for prototyping only) publish entire database clients blaze-html-templates             1.0.4  compile html templates reactive ui meteor blaze cfs:gridfs                       0.0.33  gridfs storage adapter collectionfs cfs:standard-packages            0.5.9  filesystem meteor, collectionfs ecmascript                       0.4.3  compiler plugin supports es2015+ in .js files email                            1.0.12  send email messages es5-shim                         4.5.10  shims , polyfills improve ecmascript 5 support flowkey:bootstrap-tour           1.1.0  meteor.js / blaze integration bootstrap-tour insecure                         1.0.7  (for prototyping only) allow database writes client jquery                           1.11.8  manipulate dom using css selectors kadira:blaze-layout              2.3.0  layout manager blaze (works flowrouter) kadira:flow-router               2.12.1  designed client side router meteor meteor-base                      1.0.4  packages every meteor app needs mobile-experience                1.0.4  packages great mobile user experience mongo                            1.1.7  adaptor using mongodb , minimongo on ddp pauli:accounts-linkedin          1.3.1  accounts service linkedin accounts service-configuration            1.0.9  manage configuration third-party services session                          1.1.5  session variable standard-minifier-css            1.0.6  standard css minifier used meteor apps default. standard-minifier-js             1.0.6  standard javascript minifiers used meteor apps default. themeteorchef:jquery-validation  1.14.0  jquery validation jzaefferer, repackaged meteor. tomi:upload-jquery               2.4.0  client template uploads using "jquery-file-upload" blueimp tomi:upload-server               1.3.4  upload server meteor. allows save , serve files arbitrary directory tracker                          1.0.13  dependency tracker allow reactive callbacks u2622:persistent-session         0.4.4  persistently store session data on client zimme:active-route               2.3.2  active route helpers 

my routing.js exposed = flowrouter.group();

exposed.route('/', {     triggersenter: function () {         if (meteor.loggingin() && typeof meteor.userid() !== 'undefined') {             flowrouter.go("/dashboard");         }     },     action: function () {         blazelayout.render("maintemplate", {content: "homepage"});     } });  exposed.route('/login', {     triggersenter: function () {         if (meteor.userid() !== null) {             flowrouter.go("/dashboard");         }     },     action: function (params) {         blazelayout.render("maintemplate", {content: "login"});     } }); 


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -