我一直在关注“发现流星”一书,在 Iron-Router 部分,他们说要安装
mrt add iron-router
它说
Stand back while Meteorite does its thing
Done installing smart packages
Ok, everything's ready. Here comes Meteor!
=> Running Meteor from a checkout -- overrides project version (0.7.0.1)
iron-router: Routing specifically designed for Meteor
但是当我运行流星......它说:
=> Errors prevented startup:
While building the application:
error: no such package: 'iron-router'
我已经删除并尝试安装..然后更新mrt和meteor,它说:
Installing Meteor
branch: https://github.com/meteor/meteor.git#master
Installing smart packages
✓ iron-router
tag: https://github.com/EventedMind/iron-router.git#v0.6.1
Done installing smart packages
但是当我运行它仍然给出同样的错误,说没有包铁路由器。
有任何想法吗?谢谢