First time deploy plugin and failed.Need help

This is my first time deploy my plugin,it is here

It can convert JPG/PNGs to webp format.

when I deploy it on dashboard

plugin deploy failed
go build build failed: GOOS=darwin GOARCH=amd64 GOARM=: exit status 2

2020/03/23 03:50:25 exec [/tmp/buildenv_03-23-0350.045656790/main] /usr/local/bin/go mod init tmp/caddy/main
go: creating new go.mod: module tmp/caddy/main
2020/03/23 03:50:26 exec [/tmp/buildenv_03-23-0350.045656790/main] /usr/local/bin/go mod edit -replace
2020/03/23 03:50:26 exec [/tmp/buildenv_03-23-0350.045656790/main] /usr/local/bin/go get -d -x
# get
# get 200 OK (0.255s)
go: finding v0.0.1
# get
go: finding v0.0.1
# get
# get 410 Gone (0.022s)
# get 410 Gone (0.131s)
2020/03/23 03:50:26 exec [/tmp/buildenv_03-23-0350.045656790/main] /usr/local/bin/go get -d -x
# get
# get 200 OK (0.082s)
# get
# get 200 OK (0.132s)
2020/03/23 03:50:27 exec [/tmp/buildenv_03-23-0350.045656790/main] /usr/local/bin/go mod vendor
2020/03/23 03:50:27 exec [/tmp/buildenv_03-23-0350.045656790/main] /bin/bash /tmp/buildenv_03-23-0350.045656790/main/rewrite.bash
2020/03/23 03:50:30 exec [/tmp/buildenv_03-23-0350.045656790/main] /usr/local/bin/go mod edit -dropreplace
2020/03/23 03:50:30 exec [/tmp/buildenv_03-23-0350.045656790/main] /usr/local/bin/go mod edit -droprequire
2020/03/23 03:50:31 exec [/] /usr/bin/git clone /tmp/buildenv_03-23-0350.045656790/repo
Cloning into '/tmp/buildenv_03-23-0350.045656790/repo'...
2020/03/23 03:50:31 exec [/tmp/buildenv_03-23-0350.045656790/repo] /usr/bin/git checkout v0.0.1
Note: checking out 'v0.0.1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e1eaa96 init
2020/03/23 03:50:31 exec [/tmp/buildenv_03-23-0350.045656790/repo] /usr/local/bin/go vet
2020/03/23 03:51:19 exec [/tmp/buildenv_03-23-0350.045656790/repo] /usr/local/bin/go test -race
?	[no test files]
2020/03/23 03:52:10 GOOS=darwin GOARCH=amd64 GOARM= go build
2020/03/23 03:52:10 exec [/tmp/buildenv_03-23-0350.045656790/main] /usr/local/bin/go build -mod=vendor -p 4 -o /tmp/buildenv_03-23-0350.045656790/builds/caddy_build_check
vendor/ undefined: webpGetInfo
vendor/ undefined: webpDecodeGray
vendor/ undefined: webpDecodeRGB
vendor/ undefined: webpDecodeRGBA
vendor/ undefined: webpDecodeGrayToSize
vendor/ undefined: webpDecodeRGBToSize
vendor/ undefined: webpDecodeRGBAToSize
vendor/ undefined: toGrayImage
vendor/ undefined: webpEncodeGray
vendor/ undefined: webpEncodeRGB
vendor/ too many errors

sense sth related to
is there sth wrong with cgo?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.