我按照这个meteor buildpack的步骤(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)
答案 0 :(得分:0)
现在知道了。这是我的类似问题。 https://github.com/jordansissel/heroku-buildpack-meteor/issues/1
在heroku app上安装mongo后,它工作正常。
$ heroku addons:添加mongohq:免费 添加mongohq:free-test-heroku-meteor ... done,v3(free)
答案 1 :(得分:0)
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