-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
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
ortutorial/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
Metadata
Metadata
Assignees
Labels
No labels