【问题标题】:Reverting to an old version of my meteor project with git, as well as reverting to old packages使用 git 恢复到我的流星项目的旧版本,以及恢复到旧包
【发布时间】:2014-08-08 16:20:36
【问题描述】:

我恢复到我之前的流星项目的稳定提交,但它不能正常运行。使用的流星版本是正确的(0.8.2),但我认为它使用的是我添加的最新可用版本的 mrt 包,这会导致应用出现问题。

当我运行我的流星应用程序时,我收到以下错误消息: 在构建包iron-dynamic-template时: 错误:没有这样的包:'blaze'

有没有办法让我轻松恢复到稳定的流星应用程序的确切状态?我已经尝试在我的 smart.json 中手动恢复 Iron-router,但它没有帮助。执行 mrt install --force 时收到此消息: ✓ 铁路由器 标签:https://github.com/EventedMind/iron-router/#v0.8.1 安装铁路由器的问题 ✘ [最新] 与 [标签:https://github.com/EventedMind/iron-router/#v0.8.1] 冲突;保持[标签:https://github.com/EventedMind/iron-router/#v0.8.1]

是否可以将我的应用恢复到稳定状态?

【问题讨论】:

    标签: meteor


    【解决方案1】:

    将此添加到您的smart.json 中的iron-router 部分

    iron-router : {
        tag: 'v0.7.1'
    }
    

    然后运行mrt update。这将迫使它使用旧版本的 Iron 路由器,该版本没有 0.8.3 中引入的 Blaze 重构

    0.8.1 版本仍然适用于 0.8.3。 0.7x 范围适用于 0.8.0 到 0.8.2

    【讨论】:

      猜你喜欢
      • 2020-06-12
      • 1970-01-01
      • 2014-03-31
      • 2012-05-30
      • 1970-01-01
      • 2017-10-23
      • 1970-01-01
      • 2022-07-07
      • 2013-06-10
      相关资源
      最近更新 更多