tomnomnom / hacks

A collection of hacks and one-off scripts
2.11k stars 631 forks source link

installing hacks/html-tool fails #54

Open loretanr opened 2 years ago

loretanr commented 2 years ago

Hi, great collection of tools, thanks. Today the installation of html-tool did not work for me though. I don't know go, but I suppose some changes made in github.com/ericchiang/css must be the reason.

$ go install -v github.com/tomnomnom/hacks/html-tool@latest

go: finding module for package golang.org/x/net/html
go: finding module for package github.com/tomnomnom/gahttp
go: finding module for package github.com/ericchiang/css
go: found github.com/ericchiang/css in github.com/ericchiang/css v1.3.0
go: found github.com/tomnomnom/gahttp in github.com/tomnomnom/gahttp v0.0.0-20180905143706-793a49d82336
go: found golang.org/x/net/html in golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e
...
../../.go/pkg/mod/github.com/tomnomnom/hacks@v0.0.0-20220622105119-51f934d4acea/html-tool/main.go:22:18: undefined: css.Compile
Ny4nts commented 2 years ago

Hi, great collection of tools, thanks. Today the installation of html-tool did not work for me though. I don't know go, but I suppose some changes made in github.com/ericchiang/css must be the reason.

$ go install -v github.com/tomnomnom/hacks/html-tool@latest

go: finding module for package golang.org/x/net/html
go: finding module for package github.com/tomnomnom/gahttp
go: finding module for package github.com/ericchiang/css
go: found github.com/ericchiang/css in github.com/ericchiang/css v1.3.0
go: found github.com/tomnomnom/gahttp in github.com/tomnomnom/gahttp v0.0.0-20180905143706-793a49d82336
go: found golang.org/x/net/html in golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e
...
../../.go/pkg/mod/github.com/tomnomnom/hacks@v0.0.0-20220622105119-51f934d4acea/html-tool/main.go:22:18: undefined: css.Compile

Hey,man I have the same problem as you.have you solved the problem yet

loretanr commented 2 years ago

Hi, great collection of tools, thanks. Today the installation of html-tool did not work for me though. I don't know go, but I suppose some changes made in github.com/ericchiang/css must be the reason. $ go install -v github.com/tomnomnom/hacks/html-tool@latest

go: finding module for package golang.org/x/net/html
go: finding module for package github.com/tomnomnom/gahttp
go: finding module for package github.com/ericchiang/css
go: found github.com/ericchiang/css in github.com/ericchiang/css v1.3.0
go: found github.com/tomnomnom/gahttp in github.com/tomnomnom/gahttp v0.0.0-20180905143706-793a49d82336
go: found golang.org/x/net/html in golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e
...
../../.go/pkg/mod/github.com/tomnomnom/hacks@v0.0.0-20220622105119-51f934d4acea/html-tool/main.go:22:18: undefined: css.Compile

Hey,man I have the same problem as you.have you solved the problem yet

Sorry, but no

Nishantbhagat57 commented 1 year ago

Simple one line installation: go install github.com/tomnomnom/hacks/tok@master go install github.com/tomnomnom/hacks/kxss@master go install github.com/tomnomnom/hacks/html-tool@master ... ... and so on