【发布时间】:2014-09-24 23:27:13
【问题描述】:
我刚刚将我的应用更新到了流星 0.8.3。在本地运行没有问题。但是当我尝试将它推送到heroku时,我会收到以下错误:
Building meteor bundle
simple-schema: updating npm dependencies -- string...
iron-router: updating npm dependencies -- connect...
lodash: updating npm dependencies -- lodash...
Errors prevented bundling:
While building the application:
error: no such package: 'accounts-ui-bootstrap-3'
error: no such package: 'accounts-entry'
While building package `iron-dynamic-template`:
error: no such package: 'blaze'
tar: /app/tmp/cache/bundle.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
! Push rejected, failed to compile Meteor app app
对于部署,我使用了 oortcloud 的 buildpack。这在过去很有效。 https://github.com/oortcloud/heroku-buildpack-meteorite
我对错误发生之前的早期日志条目感到最困惑。这里它说正在安装 Meteor 0.8.1.1。几行之后,它确认 Meteor 0.8.3 已安装。我很确定这是同一个问题。 https://github.com/EventedMind/iron-dynamic-template/issues/2
Installing Meteor 0.8.1.1
* 'meteor' build tool (vers
* 'meteor' build tool (version 43b8566b9f)
* Package updates: accounts-base accounts-meteor-developer accounts-oauth
accounts-password accounts-ui accounts-ui-unstyled amplify appcache
application-configuration autoupdate browser-policy browser-policy-common
browser-policy-content check coffeescript coffeescript-test-helper ctl
ctl-helper deps ejson email facebook facts follower-livedata force-ssl github
google html-tools htmljs http jquery-waypoints js-analyze less livedata
localstorage logging meetup meteor meteor-developer minifiers minimongo
mongo-livedata oauth oauth-encryption oauth1 oauth2 observe-sequence
reactive-dict routepolicy session showdown spacebars spacebars-compiler
spacebars-tests spiderable srp star-translate stylus templating test-helpers
test-in-browser tinytest twitter ui underscore-tests webapp weibo
Meteor 0.8.3 has been installed in your home directory (~/.meteor).
Now you need to do one of the following:
(1) Add ~/.meteor to your path, or
(2) Run this command as root:
cp ~/.meteor/tools/latest/launch-meteor /usr/bin/meteor
Then to get started, take a look at 'meteor --help' or see the docs at
docs.meteor.com.
我还尝试创建一个新的陨石应用程序来摆脱悬空的依赖项。但没有成功!
我能做什么?是否有机会在 heroku 服务器上调试推送/部署?
【问题讨论】:
-
不!那个解决了正在运行的应用程序的路由器问题,并且 buildpack 仅适用于纯流星应用程序(无陨石)
-
我明白了!太傻了: git heroku push master 从原始 git 存储库获取要部署的文件。不知何故,文件 .meteor/release 没有被推送到原始存储库。因此,在 heroku 的安装例程中,流星版本是 0.8.1.1 而不是 0.8.3。 :-/
标签: heroku meteor meteorite meteor-blaze