JanDeDobbeleer / homebrew-oh-my-posh

Homebrew formula for Oh my Posh
14 stars 9 forks source link

Error on WSL1 brew installation #22

Closed dkcamargo closed 4 months ago

dkcamargo commented 9 months ago

Hey guys i had some trouble installing with homebrew is anyone in here able to help me?

image

JanDeDobbeleer commented 9 months ago

@dkcamargo seems like go wasn't correctly installed. I would switch to the install script (see manual installation).

MrFootwork commented 4 months ago

I also ran into an error while installing on a MacBook using the iTerm terminal. Is this related?

🍺  /opt/homebrew/Cellar/go/1.21.6: 12,545 files, 241.3MB
==> Installing jandedobbeleer/oh-my-posh/oh-my-posh

==> go build -o=oh-my-posh -ldflags="-s -w -X 'github.com/jandedobbeleer/oh-my-posh/src/build.Version=19.8.2' -X 'github.com/jandedobbele
Last 15 lines from /Users/pandau.ting/Library/Logs/Homebrew/oh-my-posh/01.build.Date=2024-01-26T16:20:33Z'":
go: downloading github.com/aymanbagabas/go-osc52/v2 v2.0.1
go: downloading github.com/lucasb-eyer/go-colorful v1.2.0
go: downloading github.com/jandedobbeleer/clipboard v0.1.4-1
go: downloading github.com/shoenig/go-m1cpu v0.1.6
go: downloading golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: downloading github.com/fatih/color v1.15.0
go: downloading github.com/zclconf/go-cty v1.13.1
go: downloading github.com/agext/levenshtein v1.2.3
go: downloading github.com/apparentlymart/go-textseg/v15 v15.0.0
go: downloading github.com/mitchellh/go-wordwrap v1.0.1
go: downloading github.com/google/go-cmp v0.6.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/apparentlymart/go-textseg/v13 v13.0.0
/Users/firstname.lastname/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/jandedobbeleer/gopsutil/v3@v3.23.9-1/internal/common/common_darwin.go:13:2: golang.org/x/sys@v0.16.0: reading https://proxy.golang.org/golang.org/x/sys/@v/v0.16.0.zip: 403 Forbidden

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/jandedobbeleer/homebrew-oh-my-posh/issues
JanDeDobbeleer commented 4 months ago

This is a golang package registry issue, probably a small hiccup. Please run the command again, as there;'s nothing I can do on my end to solve that.