nvm-sh / nvm

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to checkout the given version $NVM_VERSION

nikhileshatverma opened this issue · comments

Hi All,

trying pulling in nvm into the dev machine seeing below error :

nvm_echo >&2 "Failed to checkout the given version $NVM_VERSION. Please report this!"

more logs :
* Closing connection #0 => Downloading nvm from git to '/home/aksyed/.nvm' => Initialized empty Git repository in /home/aksyed/.nvm/.git/ remote: Enumerating objects: 2471, done. remote: Counting objects: 100% (2471/2471), done. remote: Compressing objects: 100% (1451/1451), done. remote: Total 2471 (delta 1565), reused 1718 (delta 933), pack-reused 0 Receiving objects: 100% (2471/2471), 963.88 KiB, done. Resolving deltas: 100% (1565/1565), done. Unknown option: -c usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path] [-p|--paginate|--no-pager] [--no-replace-objects] [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE] [--help] COMMAND [ARGS] Failed to checkout the given version v0.39.7. Please report this!

What version of git are you using? Per the readme, we require v1.7.10 or higher.