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

error: Could not unpack Node v20.15.0 #1773

Closed
dougg0k opened this issue Jun 21, 2024 · 5 comments
Closed

error: Could not unpack Node v20.15.0 #1773

dougg0k opened this issue Jun 21, 2024 · 5 comments

Comments

@dougg0k
Copy link

dougg0k commented Jun 21, 2024

error: Could not unpack Node v20.15.0

Please ensure the correct version is specified.
Error details written to /home/user/.volta/log/volta-error-2024-06-21_12_07_14.142.log
       │ File: /home/user/.volta/log/volta-error-2024-06-21_12_07_14.142.log
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ "/home/user/.volta/bin/volta" "install" "node@lts"
   2   │ Volta v1.1.1
   3   │
   4   │ Could not unpack Node v20.15.0
   5   │
   6   │ Please ensure the correct version is specified.
   7   │
   8   │ Error cause: failed to unpack `/home/user/.volta/tmp/.tmpSWJocN/node-v20.15.0-linux-x64/bin/node`
   9   │
  10   │ Error cause: failed to unpack `/home/user/.volta/tmp/.tmpSWJocN/node-v20.15.0-linux-x64/bin/node`
  11   │
  12   │ Error cause: failed to unpack `node-v20.15.0-linux-x64/bin/node` into `/home/user/.volta/tmp/.tmpSWJocN/node-v20.15.0-linux-x64/bin/node`
  13   │
  14   │ Error cause: Resource temporarily unavailable (os error 11)

It succeeded the second time, so unsure why. Will leave the issue open in case it can be used to do anything about it.

@CyntiBinti
Copy link

Same issue for me and oddly as well it succeeded when I re-ran npm i command 🤔

@D3X
Copy link

D3X commented Jun 27, 2024

I'm on macOS 14.5 and re-running it does not solve the issue. The error message is a bit different, though:

"volta" "install" "node"
Volta v1.1.1

Could not unpack Node v20.15.0

Please ensure the correct version is specified.

Error cause: failed to unpack `/Users/.../.volta/tmp/.tmpntJmvM/node-v20.15.0-darwin-arm64/bin/node`

Error cause: failed to unpack `/Users/.../.volta/tmp/.tmpntJmvM/node-v20.15.0-darwin-arm64/bin/node`

Error cause: failed to unpack `node-v20.15.0-darwin-arm64/bin/node` into `/Users/.../.volta/tmp/.tmpntJmvM/node-v20.15.0-darwin-arm64/bin/node`

Error cause: corrupt deflate stream

I tried removing the whole ~/.volta directory and reinstalling everything from scratch, but it didn't help

@JamieBradders
Copy link

Also experiencing this issue and likewise the workarounds did not work for me. I also received the "corrupt deflate stream" error in the log file.

@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

Also, marking this as a duplicate of #1484 and closing it!

@chriskrycho chriskrycho closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2024
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

5 participants