`git.Clone()` throwing "Early EOL" error
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.8k
- Forks
- 704
- PR merge metrics
- No merged PRs in 30d
Description
Hey!
These three lines of code result in an error saying only "Early EOL" being thrown: https://github.com/Lostmyname/parker-pr-bot/blob/master/src/get-file.js#L28-L30
The code works locally on my machine, but not on the server I'm trying to deploy my app to. The git cli works, though, and my SSH key is correct.
Any ideas? I'm on gitter if you want to talk about it here, and I'll document it here so that it's searchable.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the three lines in src/get-file.js at lines 28-30 and reproduce the git.Clone call on the deployment server. Compare its NodeGit, Git CLI, SSH, and server environment with the working local setup, then document the cause and a reliable resolution for the Early EOL error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, javascript, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100