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

Open
dougg0k opened this issue Jun 21, 2024 · 3 comments
Open

error: Could not unpack Node v20.15.0 #1773

dougg0k opened this issue Jun 21, 2024 · 3 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.

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

4 participants