-
Notifications
You must be signed in to change notification settings - Fork 239
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
can't install node versions on m1 #1252
Comments
might be a duplicate of #1137 <- there is a mention of a workaround there but I didn't understand how it works |
Hi @fredericrous, that's strange! I don't think it's related to #1137, which was about an internal proxy and not getting the M1-enabled versions. In your case, it looks like the tar archive for that specific version of Node is corrupted or somehow not unpacking correctly. Is this a consistent error every time you try to install that version of Node? Does it happen with other versions or only Node 14? I ask about the consistency because the underlying OS error seems to be a |
Yes it is consistent. It happens with every version I tried. The loader goes above 70%, stays there a bit, then Volta fails. Could it be possible that the download failed silently? I'm behind a corporate proxy. for almost everything I have to configure their self signed certificate |
Could the download have failed silently? I am behind a VPN. Would there be a place where I should configure self signed ssl certificates? |
I don't think the download would fail silently, however Volta does unpack as it downloads, so this error would essentially be connected to any download interruption. If it's an SSL issue, the download is attempting to fetch the appropriate Node version directly from the NodeJS domain, e.g. https://nodejs.org/dist/v16.16.0/node-v16.16.0-linux-x64.tar.gz If you manually download that file, does it work and can you correctly unpack it? If so, then there's something else odd going on with the network connection. |
sorry for bumping a stale issue, but this is happening on the github CI as well:
Sometimes it works fine, sometimes it just fails. It only fails sometimes, but it fails sometimes very consistently. |
This is happening for us as well. |
I think my issue is related to having a self signed certificate on my machine that the firewall uses to let me do requests to the outside world. (I'm no network guy) Searching on the wide internet, I found this lib that I think would solve the issue if volta implements it https://github.com/rustls/rustls-native-certs I could then configure variable SSL_CERT_FILE with the path to the self signed certificate of the company PS: @charlespierce ofc I can download nodejs and unpack it if I use chrome. But chrome is configured with the certificates |
We are facing this issue in github CI as well.
|
Having similar issues in Bitbucket Pipelines with several node versions, e.g.
Sometimes it works, sometimes it does not. Happening with node versions 12-18. |
Same thing here. This seems to be happening intermittently over the past 3 days.
When I retry the exact build, sometimes it works. |
having the same issues as @lasergoat - but only in github actions and aws codebuild. Not locally. I wonder if 1.1.1 fixes this? Or am i reading the thread wrong? |
We experience this issue multiple times a day unfortunately, its probably added hours of delays to our CI pipeline daily |
I think the issue was with the Node distribution itself having problems the last couple days, this seems to be solved now though: nodejs/nodejs.org#5149 We are having no more problems in our CI pipelines. |
Node.js here 👋 we apologise for the issues that affected your repository through our incident. For future incidents, please keep an 👀 on status.nodejs.org, Thanks! |
This started happening again since yesterday. First on node 16, then today 18. Seems like it really isn't Volta related but rather Node.js then, @ovflowd ? |
I don't think we have any issues on our side :) We do have occasional caching issues that might lead to some HTTP errors for a short period of time for a very few (random) amount of people. We are working on that, but I guess it's just the reality of our infra right now. |
We are seeing this as well, node 16 and circle ci 😞 |
fwiw we ended up switching to the
|
Thanks for the continued reports, folks! @rwjblue we might want to (a) (soft-?)deprecate |
@chriskrycho |
same here... NX cloud with Dte... node 16.13, angular 15 |
I also saw this already multiple times. Nothing to add. Absolutely annoying :( I also use NX and |
+1,
|
volta --verbose install node
[verbose] No custom hooks found
[verbose] Found valid cache of Node version index
[verbose] Found newest LTS node version (18.17.1) from https://nodejs.org/dist/index.json
[verbose] Acquiring lock on Volta directory: ~/.volta/volta.lock
[verbose] Downloading [email protected] from https://nodejs.org/dist/v18.17.1/node-v18.17.1-darwin-x64.tar.gz
[verbose] Unpacking node into '~/.volta/tmp/.tmpu1NqMB'
[verbose] Unlocking Volta Directory
error: Could not unpack Node v18.17.1
Please ensure the correct version is specified.
[verbose] Error cause: failed to unpack `~/.volta/tmp/.tmpu1NqMB/node-v18.17.1-darwin-x64/bin/node`
Error cause: failed to unpack `~/.volta/tmp/.tmpu1NqMB/node-v18.17.1-darwin-x64/bin/node`
Error cause: failed to unpack `node-v18.17.1-darwin-x64/bin/node` into `~/.volta/tmp/.tmpu1NqMB/node-v18.17.1-darwin-x64/bin/node`
Error cause: Resource temporarily unavailable (os error 35)
Error details written to ~/.volta/log/volta-error-2023-09-18_16_11_34.765.log |
Is there any update? |
@lasergoat and our teams are still having the same issue. It's very inconsistent but we think it occurs more around peak build times. Could this happen as part of some kind of rate limitting? |
We got the same issue again today locally for the first time:
This seems to be happening more frequently so we have removed volta from our CI/CD pipelines. |
As noted above, it is indeed almost certainly related to rate limiting. @rwjblue another option here might be to allow the Volta GH action to use a GitHub access token? That is the recommended strategy I've seen used for other things with this issue. |
Doing it again with volta: |
The same for |
I just installed the most recent version of Volta and I get the same error as well, when I'm trying to install Node
Are there updates to this problem? MacBook Pro M2 Max |
I can't install other node like node@12, node@14 on macbook pro m1 12.3
if I ls
.volta/tmp
, the tmp folder is empty. I already tried to uninstall everything and then install node again (with homebrew). No changeThe text was updated successfully, but these errors were encountered: