You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Invalid formula: /opt/homebrew/Library/Taps/anchore/homebrew-grype/grype.rb
formulae require at least a URL
Error: Cannot tap anchore/grype: invalid syntax in tap!
What you expected to happen:
Tapping does not fail and grype can be installed using Homebrew.
How to reproduce it (as minimally and precisely as possible):
Run brew tap anchore/grype in the specified environment
Environment:
Output of grype version: none
OS (e.g: cat /etc/os-release or similar): Apple M1 macOS 11.5.2
The text was updated successfully, but these errors were encountered:
mchetelat
changed the title
Tapping fails: Formulae require at least a URL on Apple M1
Homebrew - Tapping fails: Formulae require at least a URL on Apple M1
Aug 25, 2021
That user was also on an M1 Mac, and they found that running these commands enabled a successful Homebrew installation of Grype:
arch -x86_64 brew tap anchore/grype
arch -x86_64 brew install anchore/grype/grype
Having said that, the right solution is for us to start compiling and publishing Grype for darwin/arm64. So we'll leave this issue open until that's accomplished.
What happened:
Tapping results in:
Error: Invalid formula: /opt/homebrew/Library/Taps/anchore/homebrew-grype/grype.rb
formulae require at least a URL
Error: Cannot tap anchore/grype: invalid syntax in tap!
What you expected to happen:
Tapping does not fail and grype can be installed using Homebrew.
How to reproduce it (as minimally and precisely as possible):
Run brew tap anchore/grype in the specified environment
Environment:
grype version
: nonecat /etc/os-release
or similar): Apple M1 macOS 11.5.2The text was updated successfully, but these errors were encountered: