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.

git binary needs to be installed also

See original GitHub issue

Issue Description


Git is not installed but yarn install tries to use it.

How to reproduce:

Fresh git clone docker-compse up

The log shows the error

Step 5/14 : COPY ./package.json .
 ---> 58f5e723404f
Step 6/14 : COPY ./yarn.lock .
 ---> ff8e79f2ced8
Step 7/14 : RUN yarn install
 ---> Running in 8b8661f0c537
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
error Couldn't find the binary git

Suggested fix:

add git to list of installable packages:

Issue Analytics

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

github_iconTop GitHub Comments

sotcsacommented, May 31, 2021

Many thanks, a really quick fix, awesome!

PeterDaveHellocommented, May 31, 2021

#142 should fix it

Read more comments on GitHub >

github_iconTop Results From Across the Web

1.5 Getting Started - Installing Git
If you do want to install Git from source, you need to have the following libraries that Git depends on: autotools, curl, zlib,...
Read more >
Is git good with binary files? [closed]
1. very good with binary - i use it myself · It's kinda true. You can put your /home under git revision and...
Read more >
Passing binary files as 'scripts' causes errors at develop ...
As I understood the feature, and the usage we have in a normal install, is that scripts are copied to the python Scripts...
Read more >
Getting started with Git LFS - GitLab
Working with large binary files in Git can indeed be tricky. ... Your local Git installation also needs to support LFS.
Read more >
Install Git | Atlassian Git Tutorial
If you followed the MacPorts or Homebrew instructions above, the helper should already be installed. Otherwise you'll need to download and install it....
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 Post

No results found

github_iconTop Related Hashnode Post

No results found