Open deepiajay29 opened 5 years ago
You ran the install script with sudo
- that won't do what you expect. One of the whole points of nvm is to not have to use sudo.
What happens if you rerun the installation script as it is in the readme verbatim?
Getting the same error even without sudo
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash => Downloading nvm from git to '/home/sukumad1/.nvm' => Cloning into '/home/sukumad1/.nvm'... fatal: unable to access 'https://github.com/creationix/nvm.git/': Peer reports incompatible or unsupported protocol version. Failed to clone nvm repo. Please report this!
On Thu, Jun 13, 2019 at 3:38 PM Jordan Harband notifications@github.com wrote:
You ran the install script with sudo - that won't do what you expect. One of the whole points of nvm is to not have to use sudo.
What happens if you rerun the installation script as it is in the readme verbatim?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nvm-sh/nvm/issues/2064?email_source=notifications&email_token=AMK77UWWT4RIAZE4MAAQO4LP2HMNBA5CNFSM4HXV5CC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXSSEEQ#issuecomment-501555730, or mute the thread https://github.com/notifications/unsubscribe-auth/AMK77USULV6PTDGXNCQJJGLP2HMNBANCNFSM4HXV5CCQ .
What version of git do you have? Per the readme, nvm requires v1.7.10 or later.
git version 1.8.3.1
On Thu, Jun 13, 2019 at 4:56 PM Jordan Harband notifications@github.com wrote:
What version of git do you have? Per the readme, nvm requires v1.7.10 or later.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nvm-sh/nvm/issues/2064?email_source=notifications&email_token=AMK77UVOQJBWTU56WJ7PUEDP2HVR5A5CNFSM4HXV5CC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXSWW6Q#issuecomment-501574522, or mute the thread https://github.com/notifications/unsubscribe-auth/AMK77UROEEADVR3I5S37QE3P2HVR5ANCNFSM4HXV5CCQ .
What happens if you try to git clone the repo directly? if https is unsupported, perhaps your OS is missing OpenSSL?
Can you please let me know how to git clone?
git clone https://github.com/nvm-sh/nvm.git ~/.nvm
Same error even with git clone: [sukumad1@f19_vm_sukumad1 Downloads]$ git clone https://github.com/nvm-sh/nvm.git ~/.nvm Cloning into '/home/sukumad1/.nvm'... fatal: unable to access 'https://github.com/nvm-sh/nvm.git/': Peer reports incompatible or unsupported protocol version.
In that case, it’s not a problem with nvm - it’s that your machine is unable to connect to https with git.
Perhaps your ssl certs are out of date, or perhaps your machine is lacking OpenSSL? I’m not sure how to help you from here.
Operating system and version: Fedora 19 running on Virtual Box
nvm debug
output: nvm debug bash: nvm: command not found...nvm ls
output:How did you install
nvm
? (e.g. install script in readme, Homebrew):What steps did you perform? sudo wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
What happened? nvm isntallation failed with the following error: => Downloading nvm from git to '/home/sukumad1/.nvm' => Cloning into '/home/sukumad1/.nvm'... fatal: unable to access 'https://github.com/creationix/nvm.git/': Peer reports incompatible or unsupported protocol version. Failed to clone nvm repo. Please report this!
What did you expect to happen? expected nvm to install correctly
Is there anything in any of your profile files (
.bashrc
,.bash_profile
,.zshrc
, etc) that modifies thePATH
?curl -I --compressed -v https://nodejs.org/dist/
print out?<
Connection #0 to host nodejs.org left intact
Note: I have already updated by GIT and also ran the following: yum update -y nss curl libcurl Still not working