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

"Creating a New Revel Application" fails because of unmet dependencies #205

Open
rolfedh opened this issue May 18, 2021 · 0 comments
Open

Comments

@rolfedh
Copy link
Contributor

rolfedh commented May 18, 2021

In https://revel.github.io/tutorial/createapp.html, it seems like running myapp fails due to unmet dependencies, as shown below.

  • What steps should the user take to prevent these errors?
  • Would it make sense to add these steps to tutoria/gettingstarted.md or tutorial/createapp.md?
[rolfedh@fedora-desktop ~]$ export GOPATH="/home/rolfedh/gocode"
[rolfedh@fedora-desktop ~]$ cd $GOPATH
[rolfedh@fedora-desktop gocode]$ ls
bin  myapp  pkg
[rolfedh@fedora-desktop gocode]$ rm -rf myapp/
[rolfedh@fedora-desktop gocode]$ revel new -a myapp
Revel executing: create a skeleton Revel application
Your application has been created in:
   /home/rolfedh/gocode/myapp

You can run it with:
   revel run -a  myapp
[rolfedh@fedora-desktop gocode]$ revel run -a  myapp
ERROR 19:37:08   file.go:372: Error                                    seeking=github.com/revel/revel count=1 App Import Path=github.com/revel/revel filesystem path=github.com/revel/revel errors="[-: no required module provides package github.com/revel/revel; to add it:\n\tgo get github.com/revel/revel]" 
Downloading related packages ... completed.
Revel executing: run a Revel application
WARN  19:37:10 harness.go:175: No http.addr specified in the app.conf listening on localhost interface only. This will not allow external access to your application 
Changed detected, recompiling
Parsing packages, (may require download if not cached)... Completed
/home/rolfedh/gocode/go/pkg/mod/github.com/revel/[email protected]/cache/memcached.go
WARN  19:37:11  build.go:420: Could not find in GO path                file=../../go/pkg/mod/github.com/revel/[email protected]/cache/memcached.go 
ERROR 19:37:11 harness.go:239: Build detected an error                  error="Go Compilation Error (in ../../go/pkg/mod/github.com/revel/[email protected]/cache/memcached.go:11): no required module provides package github.com/bradfitz/gomemcache/memcache; to add it:" 

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


Time to recompile 405.916071ms
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

1 participant