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

Error running brew tap nats-io/nats-tools in Mac #3

Open
marymakau5 opened this issue Mar 24, 2021 · 5 comments
Open

Error running brew tap nats-io/nats-tools in Mac #3

marymakau5 opened this issue Mar 24, 2021 · 5 comments

Comments

@marymakau5
Copy link

Getting error when running brew tap nats-io/nats-tools in Mac. What's the solution?
image

@aricart
Copy link
Member

aricart commented Mar 25, 2021

Not sure what tool you are trying to tap on, but if you were doing nsc you simply do:

brew tap nats-io/nats-tools
brew install nats-io/nats-tools/nsc

# to uninstall:
brew uninstall nats-io/nats-tools/nsc
brew untap nats-io/nats-tools

If nats cli, you can replace nsc with nats on the install and uninstall commands. Just verified that these steps worked for me:

> brew tap nats-io/nats-tools
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from a235b3800 to afd3567ce.
Updated 4 taps (homebrew/cask-versions, homebrew/core, homebrew/cask and goreleaser/tap).
==> New Formulae
clusterctl     djl-serving    influxdb@1     linux-pam      orgalorg       pandoc-plot    timg           tz
==> Updated Formulae
Updated 216 formulae.
==> Deleted Formulae
cluster-api
==> New Casks
alipay-development-assistant   dash5                          finisher-neo                   microsoft-remote-desktop
betelguese                     drovio                         finisher-voodoo                nure
brooklite                      elpki                          free42-binary                  simtoolkitpro
coinomi-wallet                 finisher-micro                 free42-decimal                 xbar
==> Updated Casks
Updated 170 casks.
==> Deleted Casks
adobe-dng-converter                      psequel                                  use-engine
pibakery                                 raven                                    veonim


==> Homebrew was updated to version 3.0.9
The changelog can be found at:
  https://github.com/Homebrew/brew/releases/tag/3.0.9
==> Tapping nats-io/nats-tools
Cloning into '/usr/local/Homebrew/Library/Taps/nats-io/homebrew-nats-tools'...
remote: Enumerating objects: 95, done.
remote: Counting objects: 100% (95/95), done.
remote: Compressing objects: 100% (82/82), done.
remote: Total 95 (delta 21), reused 8 (delta 1), pack-reused 0
Receiving objects: 100% (95/95), 17.26 KiB | 5.75 MiB/s, done.
Resolving deltas: 100% (21/21), done.
Tapped 2 formulae (29 files, 57.5KB).

> brew install nats-io/nats-tools/nsc
==> Installing nsc from nats-io/nats-tools
==> Downloading https://github.com/nats-io/nsc/releases/download/2.2.2/nsc-darwin-amd64.zip
==> Downloading from https://github-releases.githubusercontent.com/156566094/ffc6fc80-8be3-11eb-9b86-65432ee4cbd1?X-Amz-Alg
######################################################################## 100.0%
🍺  /usr/local/Cellar/nsc/2.2.2: 3 files, 17.1MB, built in 6 seconds

@aricart
Copy link
Member

aricart commented Mar 25, 2021

also tried with the nats cli and it worked for me. You may need to perform the uninstall steps.

@marymakau5
Copy link
Author

I want to install nats administration tools ; nats cli on Mac Mini

@aricart
Copy link
Member

aricart commented Mar 25, 2021

brew tap nats-io/nats-tools
brew install nats-io/nats-tools/nats

should do it.

The homebrew page says:
run brew update twice and then run brew doctor - that may help in finding the issue.

@bkono
Copy link
Contributor

bkono commented May 8, 2021

Threw in a quick PR to fix this issue. It is present on M1's because unlike the nats.rb entry, nsc.rb has an intel? check, which will lead to failure to be able to tap in the first place.

Apologies for the double PR, let cli tooling push it, and missed the conflict with the formula update.

aricart added a commit that referenced this issue Oct 26, 2021
fix: removed .intel? check for nsc, fixes m1 arch issue #3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants