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.

GitHub CLI broken in M1 Monterey 12.2.1

See original GitHub issue

Describe the bug

Github CLI does not work on M1 Monterey 12.2.1

Version & OS

GitHub Desktop Version: 2.9.8 (x64) OS: MacOS Monterey 12.2.1 M1

Steps to reproduce the behavior

  1. Open a Terminal
  2. Enter the command: github .

Expected behavior

It should open GitHub Desktop

Actual behavior

It crashes with an error.

/usr/local/bin/github: line 13: /Applications/GitHub Desktop.app/Contents/MacOS/GitHub Desktop: No such file or directory

The GitHub Desktop executable exists in that path so not sure why this is erroring.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
offirgolancommented, Mar 2, 2022

Haha all good, yeah it works with TERM=dumb

1reaction
stevewardcommented, Feb 17, 2022

Thanks for the report @offirgolan. I tested this on a non-M1 running 12.2.1 and was unable to reproduce the error. For reference https://github.com/desktop/desktop/issues/13779 was the previous report of this.

@sergiou87 has an M1 Mac so he should be able to give it a test to see if it’s reproducible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

After upgrade to Big Sur git stopped working - Apple Developer
After upgrade to Big Sur git stopped working and it keeps prompting to install CLT. According to Xcode-select, see output below CLT is...
Read more >
Git is not working after macOS Update (xcrun: error
The problem is that Xcode Command-line Tools needs to be updated. ** UPDATED for Ventura and updated apple dev download page **.
Read more >
macOS, the command line developer tool missing after ...
You can install newer versions of git using brew for example, and Python can be managed by pyenv or asdf . Doing so...
Read more >
macOS Monterey Problems - MacPorts Trac
app/Contents/Developer ), and that you have the command line tools installed ( xcode-select --install ). You also have to agree to the license ......
Read more >
Install Ruby On Rails on macOS 12 Monterey - GoRails
... to setting up a Ruby on Rails development environment on macOS 12 Monterey with Git, ... When it asks you to install...
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