New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caddy build fails #2549
Comments
Well, i didn't get caddy myself, this is the version that |
Instead of |
Additionally, you can run this to build Caddy outside of your GOPATH (any directory you like e.g. ~)
|
I'm using doc from main page: and have same error, why
|
@subvillion This is a known issue, and it will be resolved after the release of the v1.0.0 version tag. |
In the meantime, you can run |
@elcore I did |
Are you adding any plugins to your build? (Which ones?) |
Filebrowser and this one https://github.com/itsyouonline/caddy-integration. |
filebrowser is not compatible with Go modules yet AFAICT, it is one of the plugins I haven't been able to build since switching to modules. |
File Browser itself was and is a go module. The caddy specific package wasn't because Caddy didn't support go modules at the time. I'm taking a look at it. |
GO version:
go version go1.12.1 linux/amd64
1. Which version of Caddy are you using (
caddy -version
)?$GOPATH/pkg/mod/github.com/mholt/caddy@v0.11.5
2. What are you trying to do?
Building caddy from source using the steps provided here.
3. What is your Caddyfile?
None
4. How did you run Caddy (give the full command and describe the execution environment)?
Not yet built.
I only ran the first build step:
go get github.com/mholt/caddy/caddy
5. Please paste any relevant HTTP request(s) here.
6. What did you expect to see?
A successful build with no errors.
7. What did you see instead (give full error messages and/or log)?
8. Why is this a bug, and how do you think this should be fixed?
I think it's a dependency one.
9. What are you doing to work around the problem in the meantime?
Nothing
10. Please link to any related issues, pull requests, and/or discussion.
Bonus: What do you use Caddy for? Why did you choose Caddy?
The text was updated successfully, but these errors were encountered: