Meteor and MRT – Iron: Router: No such package

I am learning Meteor 0.8.3 and trying to use iron-router to set up some basic routing

My smart.json contains:

< p>

{
packages: {
iron-router: {
git: https://github.com/EventedMind/iron-router.git,
branch: blaze-integration
}
}
}

I added this, then ran mrt install and mrt update

and then I I did this and got this error:

$meteor add iron:router
iron-router: updating npm dependencies - connect...
iron:router: no such package

I can still use mrt to run the application, and the application starts, but I get Uncaught TypeError: Unable to read undefined attributes from layout.js: 92′ extend’, and nothing is displayed on the page.

My router block looks like this:

Router.map( function() {< br /> this.route('home', {path:'/' });
this.route('create');
this.route('tasksShow', {
path:'/tasks/:_id',
data: function() {return Tasks.findOne(this.params._id); }
});
});

What did I do wrong, how can I make the iron router work?

IronRouter installation:

Meteor 0.8.3 and above

$mrt add iron router

Meteor 0.9.0 and updates

$meteor add iron: router

More about this issue For more information, please visit: Installation issues with iron-router (newest) on Windows 7 x64 (Meteor 0.8.3)

I am learning Meteor 0.8.3 and try to use it iron-router sets up some basic routes

My smart.json contains:

{
packages: {
iron-router: {
git: https://github.com/EventedMind/iron-router.git,
branch: blaze-integration
}
}
}

I added this, and then ran mrt install and mrt update

Then I did this and got this error:

$meteor add iron:router
iron-router: updating npm dependencies - connect...
iron:router: no such package

I can still run with mrt Application, and the application starts, but I get Uncaught TypeError: Unable to read the undefined attribute’extend’ from layout.js:92, and nothing is displayed on the page.

My router The block looks like this:

Router.map( function() {
this.route('home', {path:'/' });< br /> this.route('create');
t his.route('tasksShow', {
path:'/tasks/:_id',
data: function() {return Tasks.findOne(this.params._id); }
});
});

What did I do wrong, how can I make the iron router work?

IronRouter installation:

Meteor 0.8.3 and above

$mrt add iron router

Meteor 0.9.0 and updates

$meteor add iron: router

For more information on this issue, please visit: Installation issues with iron-router (newest) on Windows 7 x64 (Meteor 0.8.3)

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1358 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.