Skip to content
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

Running booking example throws build error #61

Open
mjbedford opened this issue Oct 8, 2020 · 2 comments
Open

Running booking example throws build error #61

mjbedford opened this issue Oct 8, 2020 · 2 comments

Comments

@mjbedford
Copy link

I have cloned the examples in to my src github but when I try and run the booking example I get the following error

ERROR 13:16:41 harness.go:239: Build detected an error error="Go Compilation Error (in ../../../../../pkg/mod/github.com/revel/[email protected]/orm/gorp/app/dbgorp.go:7): no matching versions for query "latest""

Error compiling code, to view error details see proxy running on http://0.0.0.0:9000

Time to recompile 2.102759448s
Any ideas how to fix this

Thanks

BTW the other examples throw even more errors

@mr-klaatu
Copy link

I get this error too... Any suggestions...?

@randree
Copy link

randree commented Nov 18, 2020

Hi,
I got it up and running by changing the lines from go.mod
github.com/revel/modules v0.21.0
github.com/revel/revel v0.21.0
to
github.com/revel/modules v1.0.0
github.com/revel/revel v1.0.0

Hope that can help.

I tested the example in a Docker container with golang:1.15.5-alpine and had to add a build-base package which includes gcc.
RUN apk update && apk upgrade && apk add --no-cache bash git build-base

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants