我一直在看“发现流星”这本书,在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但当我运行时,它仍然给出同样的错误,说没有包铁路由器。
有什么想法吗?谢谢
发布于 2014-01-08 13:00:50
确保在根目录下执行mrt add iron-router,而不是从子目录中执行。
发布于 2015-05-24 03:22:32
你可以在这里找到这个问题的答案:meteor with mrt - iron:router: no such package
为meteor 0.8.3和更早版本的安装IronRouter
$ mrt add iron-router安装用于meteor 0.9.0和更新版本的IronRouter
$ meteor add iron:router发布于 2014-01-08 08:24:26
谢谢你的评论。
我忘记用url http://www.paypertise.com/meteorjs/iron-router-tutorial中的代码编辑smart.json了,谢谢你的提示
此外,coffeescript在Meteor中运行不是很好。
https://stackoverflow.com/questions/20984333
复制相似问题