今天我将Meteor项目更新到0.8.3版
$> [master?] % mrt update
? normalize.css
branch: https://github.com/rithis-archive/meteor-normalize.css.git#master
? Meteor.cron
branch: https://github.com/alexsuslov/Meteor.cron.git#master
? iron-router
tag: https://github.com/EventedMind/iron-router.git#v0.9.1
? mongodb-server-aggregation
tag: https://github.com/zvictor/meteor-mongo-server.git#v1.0.3
? reactive-publish
tag: https://github.com/Diggsey/meteor-reactive-publish.git#v0.1.6
? reststop2
tag: https://github.com/Differential/reststop2.git#v0.6.0
? kadira
tag: https://github.com/meteorhacks/kadira.git#v2.4.13
? subs-manager
tag: https://github.com/meteorhacks/subs-manager.git#v1.0.2
? async
tag: https://github.com/peerlibrary/meteor-async.git#v0.9.0-1
? npm
tag: https://github.com/arunoda/meteor-npm.git#v0.2.6
? iron-layout
tag: https://github.com/EventedMind/iron-layout.git#v0.2.0
? server-deps
tag: https://github.com/Diggsey/meteor-server-deps.git#v0.1.2
? blaze-layout
tag: https://github.com/EventedMind/blaze-layout.git#v0.2.5
? iron-core
tag: https://github.com/EventedMind/iron-core.git#v0.2.0
? iron-dynamic-template
tag: https://github.com/EventedMind/iron-dynamic-template.git#v0.2.1
Done installing smart packages
Run Code Online (Sandbox Code Playgroud)
现在,当我运行它时,$> mrt我得到以下输出:
Stand back while Meteorite does its …Run Code Online (Sandbox Code Playgroud) 我一直在关注"发现流星"这本书,在Iron-Router部分,他们说要安装
mrt add iron-router
Run Code Online (Sandbox Code Playgroud)
它说
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
Run Code Online (Sandbox Code Playgroud)
但当我运行流星时......它说:
=> Errors prevented startup:
While building the application:
error: no such package: 'iron-router'
Run Code Online (Sandbox Code Playgroud)
我已经删除并尝试安装..然后更新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
Run Code Online (Sandbox Code Playgroud)
但是,当我运行它仍然给出相同的错误,说没有包铁路由器.
有任何想法吗?谢谢