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.

npm ERR! No git binary found in $PATH

See original GitHub issue

Expected behavior

run fine 😃

Observed behavior

got this in stacktrace

npm ERR! code ENOGIT
npm ERR! Error while executing:
npm ERR! undefined ls-remote -h -t ssh://git@github.com/bengourley/stack-generator.git
npm ERR! 
npm ERR! undefined
npm ERR! No git binary found in $PATH

Steps to reproduce

npm install on my production server

Version

4.6.0

I think it’s relative to ssh path of the remote url, maybe need to switch to https ?

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
flrntcommented, May 16, 2018

works like a charm, ty @bengourley

4reactions
bengourleycommented, May 15, 2018

It looks like you’re trying to install Bugsnag on a machine that doesn’t have git installed? Some of bugsnag-js’s dependencies are pulled in via git so you’ll need to install git first.

On Tue, 15 May 2018, 21:10 Graham Campbell, notifications@github.com wrote:

Did you mean to post here? 😃

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bugsnag/bugsnag-js/issues/349#issuecomment-389297384, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlNKyIl5hDlHlsNTvro1jvhRTkvBXS2ks5tyzZJgaJpZM4T_ahv .

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm ERR! No git binary found in $PATH - Stack Overflow
You are trying within C:\WINDOWS\system32 , probably git executable is available over there. Change the directory to C:\ and then try git --version...
Read more >
wikitude CordovaError: Failed to fetch plugin
No git binary found in $PATH npm ERR! npm ERR! Failed using git. npm ERR! Please check if you have git installed and...
Read more >
Common errors | npm Docs
npm ERR ! not found: git. ENOGIT. You need to install git. Or, you may need to add your git information to your...
Read more >
Npm install command failing with message "could not find ...
I was following the project setup. When I run the npm install command, npm starts downloading the dependencies. But then, suddenly, it stops ......
Read more >
No 'git' executable was found. Please install Git ... - Unity Forum
If you are using Windows, please check the PATH variable in system environment and make sure that the path points to the git...
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