So I am trying to do a basic meteor app at the moment.. here are the three files.
router.js:
Router.configure({
layoutTemplate : \'layout\',
load
The exception isn't very relevant, but I see two possibilities:
template
attribute in your Route.route();
For the first one:
Router.route("/", {
name : "homeIndex",
template : "homeIndex",
data : function() {
return {
message : "Welcome to the Rocket Shop"
}
}
});
For the second one: make sure your router.js
file is in client/lib/
folder.
Also, make sure that you have the iron-router
package in the .meteor/packages.js
file.