Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to checkout the given version $NVM_VERSION #3335

Open
nikhileshatverma opened this issue Apr 16, 2024 · 1 comment
Open

Failed to checkout the given version $NVM_VERSION #3335

nikhileshatverma opened this issue Apr 16, 2024 · 1 comment

Comments

@nikhileshatverma
Copy link

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!

@ljharb
Copy link
Member

ljharb commented Apr 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants