【问题标题】:"mrt add magnific-popup" failing in Meteor“mrt add magnific-popup”在 Meteor 中失败
【发布时间】:2014-09-30 06:46:36
【问题描述】:

我正在尝试将 Magnific Popup 添加到我的流星项目中。当我做 mrt add magnific-popup 我得到以下错误:

错误:1 命令失败:错误:pathspec 'v0.9.11+170e942' 与 git 已知的任何文件都不匹配。

标准输出:

STDERR:错误:pathspec 'v0.9.11+170e942' 与 git 已知的任何文件都不匹配。

/usr/local/lib/node_modules/meteorite/lib/sources/git.js:181 self.checkoutType + ": " + (self.commit || self.head); ^ 签出标签时出现问题:v0.9.11+170e942

有什么想法吗?

【问题讨论】:

    标签: meteor meteorite magnific-popup atmosphere


    【解决方案1】:

    看起来像浮点数的错误。更改您的 smart.json 并将括号内的内容添加到

    magnific_popup: {
        "git": "https://github.com/Konecty/meteor-magnific-popup.git"
    }
    

    然后运行mrt update,您可能还需要运行meteor add magnific_popup 将其添加到您的.meteor/packages 文件中

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多