Closed MinaYuni closed 1 week ago
The curl error in your output suggests a DNS issue. That needs to be resolved before nvm can do anything.
I fixed the DNS issue.
Here the new output of curl -I --compressed -v https://nodejs.org/dist/
* Trying 104.20.23.46:443...
* Connected to nodejs.org (104.20.23.46) port 443 (#0)
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: self signed certificate in certificate chain
* Closing connection 0
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
The SSL problem suggests that either your CA files are out of date, your system clock is wrong, or that SSL connections are being blocked. Are you perhaps in a country, workplace, or school that is filtering or blocking public internet traffic?
Yes, I have to install Node 20 for work but it looks like the company's VPN/network blocks some internet traffic.
You’ll have to get the company to unblock things then, if you want to be able to use the internet properly.
Operating system and version:
SUSE Linux Enterprise Server 15 SP5
nvm debug
output:nvm ls
output:How did you install
nvm
?install script in readme
What steps did you perform?
Installed nvm Run
nvm ls-remote
andnvm install 20
What happened?
nvm ls-remote
returnsN/A
nvm install 20
returnsVersion '20' not found - try 'nvm ls-remote' to browse available versions.
What did you expect to happen?
NVM should install Node 20
Is there anything in any of your profile files that modifies the
PATH
?export PATH=/opt/BullseyeCoverage/bin:$PATH export PATH=\~/.local/bin:$PATH export PATH=\~/bin:$PATH
If you are having installation issues, or getting "N/A", what does
curl -I --compressed -v https://nodejs.org/dist/
print out?