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

Curl Error #3329

Closed
nirgranth opened this issue Apr 8, 2024 · 9 comments
Closed

Curl Error #3329

nirgranth opened this issue Apr 8, 2024 · 9 comments
Labels
installing nvm Problems installing nvm itself needs followup We need some info or action from whoever filed this issue/PR.

Comments

@nirgranth
Copy link

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16555 100 16555 0 0 158k 0 --:--:-- --:--:-- --:--:-- 161k
=> Downloading nvm from git to '/home/nirgr/.nvm'
=> Cloning into '/home/nirgr/.nvm'...
remote: Enumerating objects: 365, done.
remote: Counting objects: 100% (365/365), done.
remote: Compressing objects: 100% (313/313), done.
remote: Total 365 (delta 43), reused 167 (delta 26), pack-reused 0
Receiving objects: 100% (365/365), 365.08 KiB | 1.43 MiB/s, done.
Resolving deltas: 100% (43/43), done.
remote: Enumerating objects: 366, done.
remote: Counting objects: 100% (366/366), done.
remote: Compressing objects: 100% (315/315), done.
remote: Total 366 (delta 43), reused 162 (delta 25), pack-reused 0
Receiving objects: 100% (366/366), 365.79 KiB | 896.00 KiB/s, done.
Resolving deltas: 100% (43/43), done.
fatal: bad object cdc56687ada0c47f97632b0049b0446aadbe3a3a
error: remote did not send all necessary objects
Failed to fetch origin with v0.39.7. Please report this!

@ljharb
Copy link
Member

ljharb commented Apr 8, 2024

What happens if you try to git clone the nvm repo?

@nirgranth
Copy link
Author

git clone https://github.com/nvm-sh/nvm.git
Cloning into 'nvm'...
remote: Enumerating objects: 9308, done.
remote: Counting objects: 100% (2109/2109), done.
remote: Compressing objects: 100% (227/227), done.
remote: Total 9308 (delta 1993), reused 1916 (delta 1881), pack-reused 7199
Receiving objects: 100% (9308/9308), 3.59 MiB | 8.18 MiB/s, done.
Resolving deltas: 100% (5985/5985), done.

@ljharb
Copy link
Member

ljharb commented Apr 8, 2024

hmm - i wonder if it's a github fluke. Can you delete that cloned repo, and then rerun the install script?

@ljharb ljharb added needs followup We need some info or action from whoever filed this issue/PR. installing nvm Problems installing nvm itself labels Apr 8, 2024
@nirgranth
Copy link
Author

nirgranth commented Apr 8, 2024

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16555 100 16555 0 0 146k 0 --:--:-- --:--:-- --:--:-- 146k
=> Downloading nvm from git to '/home/nirgr/.nvm'
=> fatal: destination path '/home/nirgr/.nvm' already exists and is not an empty directory.
Failed to clone nvm repo. Please report this!

rm -rf /home/nirgr/.nvm

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16555 100 16555 0 0 150k 0 --:--:-- --:--:-- --:--:-- 153k
=> Downloading nvm from git to '/home/nirgr/.nvm'
=> fatal: destination path '/home/nirgr/.nvm' already exists and is not an empty directory.
Failed to clone nvm repo. Please report this!

@ljharb
Copy link
Member

ljharb commented Apr 8, 2024

hmm, that's very strange. can you confirm that the removal worked?

can you confirm that you have full ownership of your own home directory, and that it's on a disk that's writable and not full?

@nirgranth
Copy link
Author

environment issue

@nirgranth
Copy link
Author

nirgranth commented Apr 8, 2024

hmm, that's very strange. can you confirm that the removal worked?

can you confirm that you have full ownership of your own home directory, and that it's on a disk that's writable and not full?

yes

@ljharb
Copy link
Member

ljharb commented Apr 8, 2024

glad you figured it out! what was the environment issue?

@nirgranth
Copy link
Author

since i was emulating linux
it had missing dependencies

getting nvm on windows and using that in the wsl works

@ljharb ljharb closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installing nvm Problems installing nvm itself needs followup We need some info or action from whoever filed this issue/PR.
Projects
None yet
Development

No branches or pull requests

2 participants