nvm icon indicating copy to clipboard operation
nvm copied to clipboard

Can't install NVM from install.sh

Open TurnofTheScrew opened this issue 1 year ago • 3 comments

Operating system and version: Ubunto 22.04

nvm debug output:

N/A Can't install NVM from install.sh


nvm ls output:

N/A Can't install NVM from install.sh


How did you install nvm?

N/A Can't install NVM from install.sh

What steps did you perform?

Downloaded install.sh tried to run with sudo bash install.sh

What happened?

=> Downloading nvm from git to '/root/.nvm' =>Cloning into '/root/.nvm' error: git-remote-https died of signal 4 Failed to clone nvm repo. Please report this!

What did you expect to happen?

NVM to install itself

Is there anything in any of your profile files that modifies the PATH?

no


TurnofTheScrew avatar Sep 12 '23 17:09 TurnofTheScrew

Looks like you may not be able to connect to github. What happens if you try to git clone the nvm repo somewhere?

ljharb avatar Sep 12 '23 21:09 ljharb

I ran this command:

Git clone https://github.com/nvm-sh/nvm.git

I get:

Cloning into ‘nvm’… Error git-remote-http died of signal 4

I can download the zip file of the repo from github.com using Firefox, though.

Thanks, Chris

From: Jordan Harband @.> Sent: Tuesday, September 12, 2023 5:31 PM To: nvm-sh/nvm @.> Cc: Christopher Dillon @.>; Author @.> Subject: Re: [nvm-sh/nvm] Can't install NVM from install.sh (Issue #3188)

Caution: This is an external email and may contain suspicious content. Please report suspicious content to TAKTL IT.

Looks like you may not be able to connect to github. What happens if you try to git clone the nvm repo somewhere?

— Reply to this email directly, view it on GitHubhttps://github.com/nvm-sh/nvm/issues/3188#issuecomment-1716478461, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6QORWUXYO7ZAVJDTMQZC6LX2DIBBANCNFSM6AAAAAA4VEQZKY. You are receiving this because you authored the thread.Message ID: @.@.>>

TurnofTheScrew avatar Sep 12 '23 21:09 TurnofTheScrew

Seems like the issue is with your local environment, then. Do you perhaps have proxy or vpn settings in Firefox that makes it work where it otherwise wouldn't?

ljharb avatar Sep 12 '23 21:09 ljharb

seems to be a proxy. clone using https which mostly works then (and maybe add proxy settings to your enviroment)

flobee avatar Mar 10 '24 20:03 flobee

Closing since there's been no response from the OP.

ljharb avatar Mar 10 '24 22:03 ljharb