question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't git clone code-server

See original GitHub issue

OS/Web Information

  • Web Browser: Chrome, but N/A
  • Local OS: Debian
  • Remote OS: N/A
  • Remote Architecture: N/A
  • code-server --version: N/A

Steps to Reproduce

  1. git clone git@github.com:cdr/code-server.git

Expected

the repository should be fully cloned without error

Actual

Cloning into 'code-server'...
remote: Enumerating objects: 2312, done.
remote: Counting objects: 100% (2312/2312), done.
remote: Compressing objects: 100% (1727/1727), done.
remote: Total 30415 (delta 459), reused 2280 (delta 442), pack-reused 28103
Receiving objects: 100% (30415/30415), 41.79 MiB | 23.91 MiB/s, done.
Resolving deltas: 100% (16240/16240), done.
git-lfs filter-process: line 1: git-lfs: command not found
fatal: the remote end hung up unexpectedly
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

Notes

This issue can be reproduced in VS Code: No

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jawnsycommented, Apr 10, 2021

Hey there! 👋

Sorry about the challenges of getting a development environment set up for code-server, that’s definitely not the experience that we want. We’re working on making things better, and issues like yours help us with that, so thanks for sharing the feedback!

I’m not one of the primary maintainers for code-server, so I’m not entirely sure about it, but the git-lfs error looks like it’s because we’re using large file storage for something, so it looks like the existing repository expects it to be installed beforehand? Can you try running through these install steps and cloning again? https://git-lfs.github.com/

Also, if you haven’t seen it already, our contributor guide describes how to build, I think this runs things inside a Docker container to help reduce the environment issues.

Lastly I’d also like to welcome you to our Coder Community Slack: https://community.coder.com/ - in particular we have a #code-server channel and would love to discuss with you over there!

I’m sorry that you’re having these issues but we’d love to help you troubleshoot as we certainly value your contributions 😄

1reaction
code-ashercommented, Apr 12, 2021

That makes sense! We can definitely do that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't git clone code-server · Issue #3091 - GitHub
Follow up: I can run yarn install even after this error (but doubt I''ll be able to submit any PRs to this repo)....
Read more >
git - Cloning private repository into code-server - Stack Overflow
I've set up a private repository on Github and connected code-server to Github. From code-server I can clone public repositories, ...
Read more >
Getting Git on a Server
In order to clone your repository to create a new bare repository, you run the clone command with the --bare option. By convention,...
Read more >
Remote Development Tips and Tricks - Visual Studio Code
The Remote - SSH extension installs and maintains the "VS Code Server". ... If you clone a Git repository using SSH and your...
Read more >
Cloning the Remote Repository Into a Production Environment ...
Clone Repo to Server · On the BitBucket page, click "Repositories" and select the repo you want to clone. · Copy the SSH...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found