Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to brew tap #33

Closed
r4881t opened this issue May 1, 2021 · 4 comments
Closed

Unable to brew tap #33

r4881t opened this issue May 1, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@r4881t
Copy link

r4881t commented May 1, 2021

Unable to perform brew tap tenderly/tenderly as mentioned in README.

% brew tap tenderly/tenderly
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
autorestic           gnupg@2.2            imath                lm-sensors           qodem                seqkit               sysstat              webhook
fabric-installer     gtksourceview5       lefthook             nox                  revive               stp                  tssh
==> Updated Formulae
Updated 489 formulae.

==> Tapping tenderly/tenderly
Cloning into '/opt/homebrew/Library/Taps/tenderly/homebrew-tenderly'...
remote: Enumerating objects: 554, done.
remote: Counting objects: 100% (87/87), done.
remote: Compressing objects: 100% (87/87), done.
remote: Total 554 (delta 28), reused 0 (delta 0), pack-reused 467
Receiving objects: 100% (554/554), 66.50 KiB | 2.46 MiB/s, done.
Resolving deltas: 100% (179/179), done.
Error: Invalid formula: /opt/homebrew/Library/Taps/tenderly/homebrew-tenderly/tenderly.rb
formulae require at least a URL
Error: Cannot tap tenderly/tenderly: invalid syntax in tap!

% brew install tenderly
==> Tapping homebrew/cask
Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 567803, done.
remote: Total 567803 (delta 0), reused 0 (delta 0), pack-reused 567803
Receiving objects: 100% (567803/567803), 251.52 MiB | 1.98 MiB/s, done.
Resolving deltas: 100% (400984/400984), done.
Tapped 3895 casks (4,013 files, 269.8MB).
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "tenderly".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

@BogdanHabic
Copy link
Member

Hey @r4881t,

Which version of homebrew are you running? You can check this by executing brew --version? I tested the tapping out, and it worked on 3 separate versions I tried.

Can you also try installing without the tapping step:

brew install tenderly/tenderly/tenderly

@BogdanHabic BogdanHabic added the bug Something isn't working label May 1, 2021
@r4881t
Copy link
Author

r4881t commented May 1, 2021

Hi @BogdanHabic
I'm on following version

% brew --version
Homebrew 3.1.5
Homebrew/homebrew-core (git revision d9e639bcf2; last commit 2021-05-01)
Homebrew/homebrew-cask (git revision bdb866f4fc; last commit 2021-04-30)

Additionally, My OS/Mac details:
Mac OS Big Sur 11.3 (20E232)
MacBook Air (M1, 2020)

Unfortunately, I get the same error with

% brew install tenderly/tenderly/tenderly
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
virtualenvwrapper
==> Updated Formulae
Updated 8 formulae.
==> Updated Casks
Updated 52 casks.
==> Deleted Casks
nndd

==> Tapping tenderly/tenderly
Cloning into '/opt/homebrew/Library/Taps/tenderly/homebrew-tenderly'...
remote: Enumerating objects: 554, done.
remote: Counting objects: 100% (87/87), done.
remote: Compressing objects: 100% (87/87), done.
remote: Total 554 (delta 28), reused 0 (delta 0), pack-reused 467
Receiving objects: 100% (554/554), 66.50 KiB | 343.00 KiB/s, done.
Resolving deltas: 100% (179/179), done.
Error: Invalid formula: /opt/homebrew/Library/Taps/tenderly/homebrew-tenderly/tenderly.rb
formulae require at least a URL
Error: Cannot tap tenderly/tenderly: invalid syntax in tap!

I also noticed that there is no such file /opt/homebrew/Library/Taps/tenderly/homebrew-tenderly/tenderly.rb as mentioned in log in that location.

% pwd
/opt/homebrew/Library/Taps/homebrew
% ls
homebrew-cask	homebrew-core

@BogdanHabic
Copy link
Member

Hey @r4881t,

This is the main thing that helped MacBook Air (M1, 2020)! Thanks!

We've added the support for the M1 chip now. Can you try installing/tapping again?

Bogdan

@r4881t
Copy link
Author

r4881t commented May 3, 2021

Works like a charm. Thanks for quick resolution.

% brew tap tenderly/tenderly
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
ki                                                                  oksh                                                                xfig
==> Updated Formulae
Updated 106 formulae.
==> Updated Casks
Updated 65 casks.
==> Deleted Casks
hubic                                              swift-explorer                                     vrep                                               wakeonlan

==> Tapping tenderly/tenderly
Cloning into '/opt/homebrew/Library/Taps/tenderly/homebrew-tenderly'...
remote: Enumerating objects: 557, done.
remote: Counting objects: 100% (90/90), done.
remote: Compressing objects: 100% (90/90), done.
remote: Total 557 (delta 29), reused 0 (delta 0), pack-reused 467
Receiving objects: 100% (557/557), 66.98 KiB | 1.01 MiB/s, done.
Resolving deltas: 100% (180/180), done.
Tapped 2 formulae (28 files, 112.0KB).
% brew install tenderly
==> Installing tenderly from tenderly/tenderly
==> Downloading https://github.com/Tenderly/tenderly-cli/releases/download/v1.0.1/tenderly_1.0.1_Darwin_arm64.tar.gz
==> Downloading from https://github-releases.githubusercontent.com/156588271/bde29a80-ac14-11eb-831f-61b18c6578dc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210503%2Fus-ea
######################################################################## 100.0%
🍺  /opt/homebrew/Cellar/tenderly/1.0.1: 5 files, 13MB, built in 4 seconds

 % tenderly version
Current CLI version: v1.0.1

To report a bug or give feedback send us an email at support@tenderly.co or join our Discord channel at https://discord.gg/eCWjuvt

@r4881t r4881t closed this as completed May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants