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.

will not install with homebrew

See original GitHub issue

Title kinda says it all:

-> % brew install jmespath/jmespath/jp
Error: jmespath/jmespath/jp: Calling bottle :unneeded is disabled! There is no replacement.
Please report this issue to the jmespath/jmespath tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/jmespath/homebrew-jmespath/Formula/jp.rb:8

I tried removing the line in question, but got a different error saying Error: Your Command Line Tools are too outdated. - I upgraded those and tried again and it installed.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:6
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
jameslscommented, Jun 10, 2022
2reactions
rlvdxcommented, May 3, 2022

Doing this (to make the repo actually being stored on my filesystem):

I ended up running brew install jmespath/jmespath/jp -v to get the git clone command and then ran that manually to get the repo to persist locally.

Then commenting the line mentionned in the error, and finally (re)executing brew install jmespath/jmespath/jp worked for me too, thanks a lot 😃

So, to sum up:

# Clone the repo because it's not being stored when the `brew install` fails
git clone https://github.com/jmespath/homebrew-jmespath /usr/local/Homebrew/Library/Taps/jmespath/homebrew-jmespath --origin=origin

# Comment or delete line 8 of /usr/local/Homebrew/Library/Taps/jmespath/homebrew-jmespath/Formula/jp.rb
# (because using `bottle :unneeded` is now deprecated and makes the installation fail)

# In my case, there was no need to update the Command line tools; they must've already been up to date.

# Install `jmespath`
brew install jmespath/jmespath/jp
Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Issues - Homebrew Documentation
If your Homebrew installation gets messed up (and fixing the issues found by brew doctor doesn't solve the problem), reinstalling Homebrew may help...
Read more >
macos - Mac - Can't install Homebrew - Stack Overflow
So, the problem is that Homebrew is installed but actually it is not installed. Any suggestions how to solve this problem? Thank you!...
Read more >
Unable to install Homebrew in Terminal - Apple Stack Exchange
I was trying to install Homebrew in Terminal. I have MacOs Catalina 10.15.7. I am the admin of my computer. But i keep...
Read more >
How to install Homebrew on Mac and why you should do it
Step 1: Install command line tools for Xcode · Step 2: Install Homebrew on Mac · Step 3: Turn off analytics · Step...
Read more >
Solved How To Fix Homebrew Installation Problem ... - YouTube
After installing homebrew you may get messages like that:1) Zsh: command not found - brew 2) == Next steps:- Add Homebrew to your...
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