Open benzBrake opened 5 years ago
starting stage: building caddy
go: downloading github.com/gorilla/websocket v1.4.0
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading gopkg.in/yaml.v2 v2.2.2
go: downloading github.com/jimstudt/http-authentication v0.0.0-20140401203705-3eca13d6893a
go: downloading github.com/naoina/toml v0.1.1
go: extracting github.com/dustin/go-humanize v1.0.0
go: extracting github.com/jimstudt/http-authentication v0.0.0-20140401203705-3eca13d6893a
go: extracting github.com/gorilla/websocket v1.4.0
go: extracting github.com/naoina/toml v0.1.1
go: downloading github.com/naoina/go-stringutil v0.1.0
go: extracting github.com/naoina/go-stringutil v0.1.0
go: extracting gopkg.in/yaml.v2 v2.2.2
# github.com/go-acme/lego/providers/dns/dnspod
/go/pkg/mod/github.com/go-acme/lego@v2.5.0+incompatible/providers/dns/dnspod/dnspod.go:140:19: cannot convert 0 (type untyped number) to type "encoding/json".Number
/go/pkg/mod/github.com/go-acme/lego@v2.5.0+incompatible/providers/dns/dnspod/dnspod.go:140:19: invalid operation: hostedZone.ID == 0 (mismatched types "encoding/json".Number and int)
error at 'building caddy'
same problem.
@abiosoft Lego does not support dnspod-go 0.2.0.
https://github.com/go-acme/lego/issues/827
https://github.com/caddyserver/dnsproviders/pull/53
My build command
Error output