【问题标题】:Meteor push to heroku with buildpack but rejected by unrecognized errorMeteor 使用 buildpack 推送到 heroku,但被无法识别的错误拒绝
【发布时间】:2014-11-14 00:09:33
【问题描述】:

我按照这个流星构建包(https://github.com/jordansissel/heroku-buildpack-meteor)的步骤并尝试推送到heroku。但它因无法识别的错误而失败。以前有人见过这个问题吗?

$ git push heroku master


-----> Heroku receiving push
-----> Fetching custom buildpack... done
-----> meteor app detected
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5239    0  5239    0     0  17760      0 --:--:-- --:--:-- --:--:-- 43658
Fetching meteor deb package
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.0M  100 12.0M    0     0  3048k      0  0:00:04  0:00:04 --:--:-- 3187k
Unpacking meteor
Building meteor bundle
-----> Discovering process types
       Procfile declares types  -> (none)
       Default types for meteor -> web
-----> Compiled slug size is 11.8MB
-----> Launching...
 !     Heroku push rejected due to an unrecognized error.
 !     We've been notified, see http://support.heroku.com if the problem persists.


To git@xxxxxxxxxxx.git
 ! [remote rejected] master -> master (pre-receive hook declined)

【问题讨论】:

    标签: heroku meteor


    【解决方案1】:

    现在明白了。这是与我类似的问题。 https://github.com/jordansissel/heroku-buildpack-meteor/issues/1

    在 Heroku 应用上安装 mongo 后就可以正常使用了。

    $ heroku 插件:添加 mongohq:​​免费 在 test-heroku-meteor 上添加 mongohq:free... 完成,v3(免费)

    【讨论】:

      【解决方案2】:

      Heroku 免费版的 mongohq 之前使用过这个命令

      heroku addons:add mongohq:free
      

      不过,Jordan Sissel 使用新的 heroku 命名法更新了 buildpack。

      heroku addons:add mongohq:sandbox
      

      https://github.com/jordansissel/heroku-buildpack-meteor/pull/5

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2016-02-20
        • 2014-01-27
        • 1970-01-01
        • 2017-01-09
        • 2021-09-22
        • 1970-01-01
        相关资源
        最近更新 更多