Meteor包管理冲突

Meteor包管理冲突,meteor,meteorite,iron-router,Meteor,Meteorite,Iron Router,当我尝试运行meteor应用程序时,出现以下错误: Problem installing iron-router ✘ [0.6.4] conflicts with [tag: https://github.com/EventedMind/iron-router.git#v0.6.4] Can't resolve dependencies! Use --force if you don't mind mrt taking a wild guess and running your app an

当我尝试运行meteor应用程序时,出现以下错误:

Problem installing iron-router
  ✘ [0.6.4] conflicts with [tag: https://github.com/EventedMind/iron-router.git#v0.6.4]
Can't resolve dependencies! Use --force if you don't mind mrt taking a wild guess and running your app anyway.
直到最近我运行了
mrt add{{{package_name}}
之后,mrt才开始升级所有的包。我故意还没有将这个应用升级到Meteor的.8版本,所以这破坏了一切,因为大多数软件包已经升级,并且不向后兼容

为了解决这个问题,我决定更改顶层smart.json以反映升级前的包状态。然后我rm-rf’ed iron router和帐户条目(取决于iron router),在它们上运行mrt remove,然后再次尝试添加它们。这在软件包级别上起作用——它产生正确的软件包——但我仍然会遇到上面的错误,我的应用程序无法运行

{
  "packages": {
    "iron-router": {
      "git": "https://github.com/EventedMind/iron-router.git",
      "tag": "v0.6.4"
    },
    "accounts-entry": {
      "git": "https://github.com/BeDifferential/accounts-entry.git",
      "tag": "v0.6.2"
    },
    "accounts-t9n": {
      "git": "https://github.com/softwarerero/meteor-accounts-t9n.git",
      "tag": "v0.0.2"
    },
    "typeahead": {},
    "roles": {
      "git": "https://github.com/alanning/meteor-roles.git",
      "tag": "v1.2.6"
    },
    "bootstrap-themes": {},
    "font-awesome": {}
  }
}

我通过一个复杂的过程来解决这个问题,删除~/.meteorite目录,然后按特定顺序重新安装所有内容

听起来像是陨石目录里的一团乱麻。你试过删除它并从头开始安装所有东西吗?(也就是说,
mrt安装
)不,我没有。我现在就试试。当我这么做的时候,我又犯了一个错误,说:✘ [0.6.4]与[tag:您使用的meteor的确切版本(即
/meteor/release
文件中的内容)冲突。您也可以尝试手动签出特定的标记,并在
目录中放置一个符号链接(这或多或少是
meteorite
的功能)。运行
meteor
(你可以忽略
mrt
)看看会发生什么。我现在使用的是0.7.2。在我卸载整个.meteorite目录之前,应用程序会启动,但什么都不起作用,因为会出现各种错误,例如“Meteor未找到”、“模板未找到”、“路由器未找到”等等。我觉得这很奇怪,但实际上只是因为其他东西坏了。