Closed bijancn closed 6 months ago
Somehow my browser posted twice. Duplicate of #7
Hi I am able to compile on my machine ;-). My config go version go1.22.3 linux/amd64 Ubuntu 22.04
I have updated all the dependencies.
@chukmunnlee thank you for the update but at least on Mac it doesn't build anymore now:
$ make darwin
...
2024/06/04 09:38:13 [INFO] exec (timeout=0s): /opt/homebrew/bin/go build -o /Users/bijanchokoufenejad/repos/caddy-openapi/dist/caddy-amd6-darwin-aa93a88 -ldflags -w -s -trimpath -tags nobadger
# github.com/chukmunnlee/caddy-openapi
../util.go:81:30: r.Spec.ExtensionProps undefined (type *openapi3.T has no field or method ExtensionProps)
../util.go:86:33: r.PathItem.ExtensionProps undefined (type *openapi3.PathItem has no field or method ExtensionProps)
../util.go:110:27: oper.ExtensionProps undefined (type *openapi3.Operation has no field or method ExtensionProps)
../util.go:115:28: undefined: openapi3.ExtensionProps
2024/06/04 09:38:23 [INFO] Cleaning up temporary folder: /Users/bijanchokoufenejad/repos/caddy-openapi/buildenv_2024-06-04-0937.2118164889
2024/06/04 09:38:23 [FATAL] exit status 1
make: *** [darwin] Error 1
$ go version
go version go1.22.3 darwin/arm64
I tried to build on MacOs/darwin with the latest
go version = 1.22.3
but find this errorWhat confuses me a bit is that the error message indicates that
quic-go@v0.28.0
cannot work on Go later than 1.20 but you indicate that the build was tested ongo version = 1.21.1
in theREADME
?Anyway, I guess it could solved by upgrading quic-go to the latest version.