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

Could not unpack Node, corrupt deflate stream #1484

Open
garycourt opened this issue Apr 4, 2023 · 9 comments
Open

Could not unpack Node, corrupt deflate stream #1484

garycourt opened this issue Apr 4, 2023 · 9 comments

Comments

@garycourt
Copy link

garycourt commented Apr 4, 2023

I was trying to upgrade Node.js to v18.15.0 using Volta v1.0.8 under WSL1 running Ubuntu 20.04 LTS, and I get the following error:

Volta error: Could not unpack Node v18.15.0

Please ensure the correct version is specified.
Error details written to /home/user/.volta/log/volta-error-2023-04-03_18_54_22.854.log

The log file mentioned has these contents:

"node" "-v"
Volta v1.0.8

Could not unpack Node v18.15.0

Please ensure the correct version is specified.

Error cause: failed to unpack `/home/user/.volta/tmp/.tmpu2areJ/node-v18.15.0-linux-x64/include/node/openssl/bio_asm.h`

Error cause: failed to unpack `/home/user/.volta/tmp/.tmpu2areJ/node-v18.15.0-linux-x64/include/node/openssl/bio_asm.h`

Error cause: failed to unpack `node-v18.15.0-linux-x64/include/node/openssl/bio_asm.h` into `/home/user/.volta/tmp/.tmpu2areJ/node-v18.15.0-linux-x64/include/node/openssl/bio_asm.h`

Error cause: corrupt deflate stream

Any idea what's going on here? There's lots of storage space on this drive.

@garycourt
Copy link
Author

garycourt commented Apr 4, 2023

After this error, I tried removing /home/user/.volta directory, re-installing Volta (v1.1.1), and installing Node.js again. I still get the same error.

I also tried an older version of Node.js (v18.14.2), and it also gives me the same error.

@ryanolee
Copy link

ryanolee commented Apr 4, 2023

We ran into this on our CI pipeline. Looks like it could be an intermittent / network issue however @garycourt as it seems to be working for us now 👀

@garycourt
Copy link
Author

I just gave it another try, and it also appears to be working for me now as well.

Thanks. Closing issue.

@harellevy
Copy link

same issue:
Error cause: corrupt deflate stream
nx cloud ci is unable to run because of this error... i get it twice a month minimum...
image

@garycourt
Copy link
Author

I ran into this issue again today. I'm going to reopen this as I think someone looking into it is warranted.

@garycourt garycourt reopened this Oct 4, 2023
@travis-jm
Copy link

Commenting because I'm starting to see this more frequently. Went from occasionally in CI/CD pipeline to team members reporting it to me.

@cskiwi
Copy link

cskiwi commented Oct 18, 2023

Also having the same issues. very frustrating if you have to release something quickly and this just fails without any workaround

@chriskrycho
Copy link
Contributor

I think this may be related to #1744 – if any of you folks are up for running a special lots-of-extra-tracing build I just created, see #1784 and follow the instructions under To Test there!

@chriskrycho
Copy link
Contributor

This may also be related to sbstp/attohttpc#84 – and if so, the issue is not specific to our choice of attohttpc, as that thread indicates; it shows up in reqwest and a few other libraries, and even in Go’s HTTP library. 😮‍💨 Will leave more notes here if/as I find things.

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

6 participants