Can not find migrations

when I build lora server,there is 1 error.

cannot find package “github.com/brocaar/loraserver/internal/migrations” in any of:
/usr/local/go/src/github.com/brocaar/loraserver/internal/migrations (from $GOROOT)
/home/lx/go/src/github.com/brocaar/loraserver/internal/migrations (from $GOPATH)

note: linux amd64 and go1.9. run “make build” command

Thanks

But I find there is a “migrations” file in “github.com/brocaar/loraserver/

I have solve this question.
by cloning the loraserver repository ,it’s release is same with the release of loraserver code that I want to build.

Besides,there are other errors:

cmd/loraserver/main.go:32:2: use of internal package not allowed
cmd/loraserver/main.go:33:2: use of internal package not allowed
cmd/loraserver/main.go:17:2: use of internal package not allowed
cmd/loraserver/main.go:34:2: use of internal package not allowed
cmd/loraserver/main.go:35:2: use of internal package not allowed
cmd/loraserver/main.go:36:2: use of internal package not allowed
cmd/loraserver/main.go:40:2: use of internal package not allowed
cmd/loraserver/main.go:19:2: use of internal package not allowed
cmd/loraserver/main.go:38:2: use of internal package not allowed
cmd/loraserver/main.go:41:2: use of internal package not allowed

I have cloned the loraserver repository under $GOPATH/src/github.com/brocaar/loraserver

Maybe you could share how you solved your issue, in case others run into the same error?

Regarding your “use of internal package not allowed”. Not sure if I can help. Could you try the provided Docker development image to see if the issue persists (it should not)? Then look from there what the differences are between your own environment and the Docker environment. See also: https://docs.loraserver.io/loraserver/community/source/