piqoni / matcha

Daily Digest Reader
MIT License
454 stars 23 forks source link

go install doesn't work #27

Closed luginbash closed 1 year ago

luginbash commented 1 year ago

Hi, um ... I was trying to install matcha the lazy way, and turns out it doesn't work:

╰─○ go install github.com/piqoni/matcha@latest
go: github.com/piqoni/matcha@latest: github.com/piqoni/matcha@v0.5.3: parsing go.mod:
    module declares its path as: matcha
            but was required as: github.com/piqoni/matcha

I think it has something todo with go.mod.

piqoni commented 1 year ago

Nice catch, just made a release now to support this, can you try again? Then will update README for Gophers :)

Somehow @latest still gets 0.5.3 which will fail to install but I think its temporary github cache. If @latest doesnt work this should work (it is the latest): go install github.com/piqoni/matcha@0.5.4

luginbash commented 1 year ago

It's working now! Thank you so much!

➜  ~  go install github.com/piqoni/matcha@0.5.4
go: downloading github.com/piqoni/matcha v0.5.4-0.20230426113210-ef165e237efe
go: downloading github.com/spf13/viper v1.12.0
go: downloading github.com/mmcdole/gofeed v1.1.3
go: downloading github.com/sashabaranov/go-gpt3 v1.0.1
go: downloading github.com/savioxavier/termlink v1.2.1
go: downloading github.com/go-shiori/go-readability v0.0.0-20220215145315-dd6828d2f09b
go: downloading modernc.org/sqlite v1.20.0
go: downloading github.com/fsnotify/fsnotify v1.5.4
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/spf13/afero v1.8.2
go: downloading github.com/spf13/cast v1.5.0
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/subosito/gotenv v1.3.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/ini.v1 v1.66.4
go: downloading github.com/magiconair/properties v1.8.6
go: downloading github.com/pelletier/go-toml/v2 v2.0.1
go: downloading gopkg.in/yaml.v3 v3.0.0
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/pelletier/go-toml v1.9.5
go: downloading golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab
go: downloading github.com/jwalton/go-supportscolor v1.1.0
go: downloading github.com/json-iterator/go v1.1.12
go: downloading golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2
go: downloading github.com/PuerkitoBio/goquery v1.5.1
go: downloading github.com/mmcdole/goxpp v0.0.0-20181012175147-0068e33feabf
go: downloading github.com/andybalholm/cascadia v1.2.0
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading github.com/go-shiori/dom v0.0.0-20210627111528-4e4722cd0d65
go: downloading github.com/gogs/chardet v0.0.0-20191104214054-4b6791f73a28
go: downloading modernc.org/libc v1.21.5
go: downloading github.com/mattn/go-isatty v0.0.16
go: downloading github.com/google/uuid v1.3.0
go: downloading modernc.org/mathutil v1.5.0
go: downloading modernc.org/memory v1.4.0
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0
piqoni commented 1 year ago

go install github.com/piqoni/matcha@latest should work now and install today's latest version https://github.com/piqoni/matcha/releases/tag/v0.5.5