This repository was archived by the owner on Jan 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
fails to compile because zombiezen.com/go/webapp missing #16
Comments
You can hack around this for the time being with something like:
The real solution is I need to migrate that repository over to GitHub. It's on my list to do that, but I won't get to it for a little while here. Thanks for the report. |
Can you maybe show what actually needs to be run? $ go mod init
go: cannot determine module path for source directory /Users/alex/Documents/Git/Extern/Github/zombiezen/filedrop (outside GOPATH, module path must be specified)
Example usage:
'go mod init example.com/m' to initialize a v0 or v1 module
'go mod init example.com/m/v2' to initialize a v2 module
Run 'go help mod init' for more information. So I tried this: $ go mod init zombiezen.com/go/webapp
go: creating new go.mod: module zombiezen.com/go/webapp
$ go mod edit -replace zombiezen.com/go/webapp=bitbucket.org/zombiezen/webapp@e8e50517d046ec609849429e0dc4d48cf5c81c3a
$ make
go get -d
go: finding module for package github.com/gorilla/mux
go: downloading github.com/gorilla/mux v1.7.4
go: found github.com/gorilla/mux in github.com/gorilla/mux v1.7.4
go build -o filedrop
can't load package: import cycle not allowed
package zombiezen.com/go/webapp
imports zombiezen.com/go/webapp
make: *** [filedrop] Error 1 |
@alexs77 The error message explains what's needed.. go mod init github.com/zombiezen/filedrop
go mod edit -replace zombiezen.com/go/webapp=bitbucket.org/zombiezen/webapp@e8e50517d046ec609849429e0dc4d48cf5c81c3a
make all Watch it work! Yay! |
It doesn't work at the moment: How to resolve it? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey, I know this package hasn't been touched for quite a while. I was looking for an example of a sandstorm app written in go, to better understand writing sandstorm app.
Anyway, just FYI, this doesn't build because zombiezen.com no longer serves zombiezen.com/go/webapp.
The text was updated successfully, but these errors were encountered: