rod icon indicating copy to clipboard operation
rod copied to clipboard

Fail build with new version github.com/ysmood/fetchup v0.4.0

Open ns-evalbuena opened this issue 6 months ago • 8 comments

Rod Version: v0.116.2 I got this error with the new version for github.com/ysmood/fetchup

go.mod github.com/ysmood/fetchup v0.4.0

I got this error

# github.com/go-rod/rod/lib/launcher
../../../../go/pkg/mod/github.com/go-rod/[email protected]/lib/launcher/browser.go:138:25: too many arguments in call to fetchup.New
	have (string, []string...)
	want (...string)

ns-evalbuena avatar Jun 09 '25 10:06 ns-evalbuena

Please fix the format of your markdown:

9 MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]

generated by check-issue

github-actions[bot] avatar Jun 10 '25 15:06 github-actions[bot]

+1

vlw avatar Jun 11 '25 15:06 vlw

I just ran into this as well. When I upgraded components, it pulled in v0.5.2 and I got this error:

# github.com/go-rod/rod/lib/launcher
../../../../../go/pkg/mod/github.com/go-rod/[email protected]/lib/launcher/browser.go:138:25: too many arguments in call to fetchup.New
	have (string, []string...)
	want (...string) (exit status 1)

Had to roll back to v0.3.0 to avoid this.

cardilloscreations avatar Jun 11 '25 23:06 cardilloscreations

+1

marcuoli avatar Jun 12 '25 13:06 marcuoli

you can downgrade fetchup to 0.2.3:

go get github.com/ysmood/[email protected]

check if successfully

go list -m all | grep fetchup
// github.com/ysmood/fetchup v0.2.3

lyydsheep avatar Jun 20 '25 05:06 lyydsheep

same problem here

jvegaseg avatar Jun 21 '25 19:06 jvegaseg

In my case, github.com/ysmood/[email protected] works as expected.

marcuoli avatar Aug 08 '25 18:08 marcuoli

Same issue #1203

kvii avatar Oct 14 '25 03:10 kvii