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

Volta 1.1.1 Windows Not Download Node #1435

Closed
DiegPS opened this issue Jan 30, 2023 · 4 comments
Closed

Volta 1.1.1 Windows Not Download Node #1435

DiegPS opened this issue Jan 30, 2023 · 4 comments

Comments

@DiegPS
Copy link

DiegPS commented Jan 30, 2023

image

I am facing an issue while using the latest version (1.1.1) of the Volta JS app to manage Node versions. I am unable to download Node in this version, while I am able to download other packages such as npm and yarn. The error message I receive is related to network problems or insufficient storage permissions. This issue is not present in version 1.1.0 in Windows.

@charlespierce
Copy link
Contributor

Hi @D7EGPS, thanks for reporting! That's concerning for sure. Can you share the contents of the log file mentioned at the bottom of the error message? There may not be much useful information, but it hopefully can point us in the right direction.

The main difference for fetching operations between Volta 1.1.1 and Volta 1.1.0 is that the latest release is updated to use the native store of certificates from the machine, rather than a more compressed in-built one. Is it possible your machine has native certificates that don't work for nodejs.org? That seems unlikely since it would also break a whole bunch of other things, but just out of curiosity.

@ivan-unfolds
Copy link

I'm getting a similar error when trying to run a command that uses volta on an app I've deployed with Fly.io. This command was working fine a few days ago which makes me think it's do with the new volta version. Here's the full error message

Volta v1.1.1

Could not download [email protected]
from https://nodejs.org/dist/v18.10.0/node-v18.10.0-linux-x64.tar.gz

Please verify your internet connection and ensure the correct version is specified.

Error cause: Io Error: invalid peer certificate contents: invalid peer certificate: UnknownIssuer

Error cause: Io Error: invalid peer certificate contents: invalid peer certificate: UnknownIssuer

I've also posted this question on Fly's forum

@DiegPS
Copy link
Author

DiegPS commented Feb 2, 2023

@charlespierce It seems to be working now, it was probably an issue with the certificates or something related, as I reinstalled the operating system, Windows 10 (using the same ISO image), and now it's functioning properly. I recall having trouble downloading Node at the time. Thank you!
image

@DiegPS DiegPS closed this as completed Feb 2, 2023
@faern
Copy link

faern commented Jun 1, 2023

We just ran into the same issue it seems. Both node and npm yield this error in the log:

"C:\\Program Files\\Volta\\volta.exe" "install" "node"
Volta v1.1.1

Could not download Node version registry
from https://nodejs.org/dist/index.json

Please verify your internet connection.

Error cause: Io Error: invalid peer certificate contents: invalid peer certificate: UnknownIssuer

This is on a newly installed Windows Server 2022 virtual machine. For now we downgraded Volta to 1.0.8 and that fixed the issue. We currently don't have the time to reinstall the entire machine just for this, so can't say if that fixes it or not. But seems to be a bug with Volta?

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