我刚刚把我的应用更新到了meteor 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服务器上调试推送/部署?
发布于 2014-08-02 23:25:15
过期的.meteor/release文件导致了此问题:
git heroku push master从原始git存储库获取要部署的文件。它不关心本地的、未暂存的文件。不知何故,文件.meteor/release没有被推送到原始存储库。因此,在heroku的安装例程中,meteor版本是0.8.1.1,而不是0.8.3。
避免此问题的解决方案:
https://stackoverflow.com/questions/25085652
复制相似问题