Meteor更新至0.8.3 breaks应用程序

Meteor更新至0.8.3 breaks应用程序,meteor,meteorite,Meteor,Meteorite,今天我将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: htt

今天我将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
现在,当我运行它时,我得到以下输出:

Stand back while Meteorite does its thing

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

[[[[[ ~/tmp/test ]]]]]

=> Started proxy.
=> Meteor 0.8.3 is available. Update this project with 'meteor update'.
=> Started MongoDB.     
iron-router: updating npm dependencies -- connect...
kadira: updating npm dependencies -- debug, usage...
=> Errors prevented startup:

While building package `iron-router`:
error: no such package: 'reactive-dict@1.0.0'
error: no such package: 'deps@1.0.0'
error: no such package: 'underscore@1.0.0'
error: no such package: 'ejson@1.0.0'
error: no such package: 'jquery@1.0.0'
error: no such package: 'ui@1.0.0'
error: no such package: 'iron'
error: no such package: 'cmather'
error: no such package: 'webapp@1.0.0'

=> Your application has errors. Waiting for file change.

现在,当我进行流星更新时,问题仍然存在。即使我先进行流星更新,然后再进行mrt更新,结果也是一样的。有什么建议吗?

问题是运行
mrt update
已将iron:router更新为最新版本(0.9.1),该版本仅与meteor 0.9候选版本兼容(请参见此处的说明:)

您需要做的是将iron router降级到0.8.2,这与meteor 0.8.3兼容

为此,您必须修改smart.json,如下所示:

{
  "packages": {
    "iron-router":{
      "version": "0.8.2"
    }
}
然后通过删除smart.lock清理您的项目,并运行
mrt install
,以确保meteorite已经解释了更改


如果一切正常,项目包文件夹中符号链接的iron路由器版本应指向iron-router@0.8.2

应该是
0.8.2
,而不是
v0.8.2