这是日志:
$ git push heroku master
Counting objects: 79, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (76/76), done.
Writing objects: 100% (79/79), 228.60 KiB | 374.00 KiB/s, done.
Total 79 (delta 20), reused 0 (delta 0)
-----> Node.js app detected
-----> Resolving engine versions
Using Node.js version: 0.10.21
Using npm version: 1.2.30
-----> Fetching Node.js binaries
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Exiting with failure status due to previous errors
! Push rejected, failed to compile Node.js app
To git@heroku.com:some-heroku-app.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:some-heroku-app.git'
我看了这个错误,但没有其他人的推动似乎退出与我相同的地方。更重要的是它开始随机而且我今天已经推动了这个应用程序。我做的一切都是一样的,这就是发生的事情。发生了什么事?
答案 0 :(得分:4)
相同...通过明确要求"node": "0.10.20"
临时修复......我假设这很快就会修复。
答案 1 :(得分:0)
如果fat的答案不适合您,请尝试将其添加到package.json文件的dependencies对象中。
"node": "latest"