0

Screenshot

On a Ubuntu 20.04 server - I've also tried removing and reinstalling curl as per This SO answer.

This

is also open.. So no idea how to install Node v14 LTS under nvm now..

Storm
  • 4,307
  • 11
  • 40
  • 57

3 Answers3

0

The readme on the github for NVM says to use the provided install script for Linux installs. This can be achieved with curl or wget:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

I recommend that you click the link and read, as their is quite a bit of related info there.

Nate T
  • 727
  • 5
  • 21
0

I was interested and just tested it out in a clean docker container (ubuntu:20.04) (as I dont use node that often), and it looked pretty straight forward:

apt-get update -y 
apt-get install -y curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source ~/.bashrc
nvm version
# none
nvm install --lts --default
nvm version
# v14.17.0

If it not that, then I would also assume, that the issue is related to your general environment, like network inspection, proxy access or else.

nicht-vergessen
  • 365
  • 2
  • 5
0

As it is visible from the logs, the checksum process keeps failing in a repeated manner. And there have been issues highlighting that some ISO images can show issue with hashing process due to Windows 10 components. , which implicitly effects the checksum process under a guest environment on VirtualBox.

You can complete the steps provided by VirtualBox team there to resolve this issue, as pointed out on Virtual Box's forum:

it's Hyper-V that is causing the checksum problem you posted about, not the version of Virtualbox.

Gaurav Tiwari
  • 349
  • 2
  • 7