Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gzip: stdin: not in gzip format #44

Closed
gabrielmancini opened this issue Aug 28, 2013 · 15 comments
Closed

gzip: stdin: not in gzip format #44

gabrielmancini opened this issue Aug 28, 2013 · 15 comments

Comments

@gabrielmancini
Copy link

Hi Guys,

I am trying upping the version of nodejs in heroku
so following the steps to hack the buildpack, i made the necessary changes, but when i push the project the deploy show me this error:

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Exiting with failure status due to previous errors

 !     Push rejected, failed to compile Node.js app

any one pass thru for this?

@gabrielmancini
Copy link
Author

Ohh, that error occur when you make some dumb ass on your buildpack, and the process can't download the nodejs from your bucket.

@lancetipton
Copy link

I know this is closed, but can you expand on this? I am having the same problem and can't figure it out.

@hunterloftis
Copy link
Contributor

@lancetipton04 could you provide your full output? Are you using the master branch of the heroku buildpack or a fork?

@volkanunsal
Copy link

Having the same problem today. Any update on this?

@volkanunsal
Copy link

If anyone is having the same problem, I ended up using version 63 and that worked well.

heroku config:set "BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-nodejs#v63"

@hunterloftis
Copy link
Contributor

@volkanunsal can you open a ticket (help.heroku.com) or paste your full output? It's difficult to figure out what's up without any context.

@hunterloftis
Copy link
Contributor

I just did a quick search of our logs; the only instances of this error I see are people trying to install really old versions of Node (that we don't support anymore - like 0.6.11). I'll add some code to detect this either in semver or in the buildpack, but if you're specifying < 0.8.5 in package.json and you've found this thread - update your node engine! :)

@volkanunsal
Copy link

Nope, I'm using 0.11.33.

On Tue, Jan 13, 2015 at 2:20 PM, Hunter Loftis [email protected]
wrote:

I just did a quick search of our logs; the only instances of this error I
see are people trying to install really old versions of Node (that we don't
support anymore - like 0.6.11). I'll add some code to detect this either in
semver or in the buildpack, but if you're specifying < 0.8.5 in
package.json and you've found this thread - update your node engine! :)


Reply to this email directly or view it on GitHub
#44 (comment)
.

Volkan Unsal
web and mobile development
volkanunsal.com http://bit.ly/1h1ebjy

@hunterloftis
Copy link
Contributor

@volkanunsal That would be why then - 0.11.33 doesn't exist:

http://nodejs.org/dist/

@volkanunsal
Copy link

You're right. Huh. I guess it was always resolving to 0.10.35 before.

@hunterloftis
Copy link
Contributor

Yeah #v63 always uses semver to resolve, while the later branches skip resolution if you specify an exact version (since we don't want to change versions on someone who is specifying exactly what they want).

@alexandre-mbm
Copy link

I found that I needed specify an old version for the node.

First I tried:

"engines" : { "node" : "0.6.21" }

After:

"engines" : { "node" : "0.8.5" }

This worked:

"engines" : { "node" : "~0.8.5" }

There are nodejs.org/dist/v0.8.5 and nodejs.org/dist/v0.6.21 but the first was OK for me.

@PanMan
Copy link

PanMan commented Jul 20, 2015

I had this error twice today, but just pushing again works.

@hunterloftis
Copy link
Contributor

@PanManAms likely means the node binary was unavailable initially and then became available.

I'll separate the download from the parsing so in between the two I can check whether or not the download succeeded.

@saru2020
Copy link

After so many years and still, this issue occurs.
Btw: My fix was to pin to a specific version as mentioned here:
heroku buildpacks:set https://github.com/heroku/heroku-buildpack-nodejs#v75 -a my-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants