Building Caddy 1.0.0 beta 2 with Go 1.12.4 fails

Hi all,

I’m trying to build Caddy following the instructions in the README in a clean environment with Go 1.12.4. This is the simplest, without plugins build in a clean environment, with a newly created user (no GOPATH set, nothing previously downloaded).

Please see this gist

What am I doing wrong? TIA

Hi Diego,

Thanks, this was helpful. I just learned about go mod tidy (I thought this was automatic but I guess not), so if you pin version 0c3d90ed21a4df1b5e75ff4d5f908fd3018f902c it should work now.

Thanks for the quick response, Matt.

Indeed, that solved the issue. Going to test building with some plugins later to see what works and what doesn’t.
I was just binge-reading go help mod myself but it didn’t occurred to me to look at the tidy command, just poking around without thinking too much.


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