Skip to content

New Revel project doesn't run or build #1533

@caeril

Description

@caeril

Revel modules depends on github.com/myesui/uuid, which doesn't exist. Any attempts to run or build a newly-created revel project fails:

[caeril@localhost src]$ revel new foobar
Revel executing: create a skeleton Revel application
Your application has been created in:
   /home/caeril/work/go/src/foobar

You can run it with:
   revel run -a  foobar
[caeril@localhost src]$ revel run -a foobar
Revel executing: run a Revel application
Downloading related packages ...ERROR 10:30:07 command_config.go:250: Failed to import package                 error="exit status 1" gopath=/home/caeril/work/go GO-ROOT=/usr/lib/golang output="go: finding module for package github.com/revel/modules\ngo: finding module for package github.com/stretchr/testify/assert\ngo: finding module for package gopkg.in/yaml.v2\ngo: finding module for package github.com/BurntSushi/toml\ngo: finding module for package github.com/myesui/uuid\ngo: finding module for package gopkg.in/stretchr/testify.v1/assert\ngo: finding module for package github.com/myesui/uuid/savers\ngo: found github.com/revel/modules in github.com/revel/modules v1.0.0\ngo: found github.com/stretchr/testify/assert in github.com/stretchr/testify v1.7.0\ngo: found github.com/BurntSushi/toml in github.com/BurntSushi/toml v0.3.1\ngo: found gopkg.in/yaml.v2 in gopkg.in/yaml.v2 v2.4.0\ngo: github.com/revel/modules@v1.0.0 requires\n\tgithub.com/myesui/uuid@v1.0.0: reading github.com/myesui/uuid/go.mod at revision v1.0.0: unknown revision v1.0.0\n" 
 completed.
Downloading related packages ...ERROR 10:30:09 command_config.go:250: Failed to import package                  error="exit status 1" gopath=/home/caeril/work/go GO-ROOT=/usr/lib/golang output="go: finding module for package github.com/revel/modules\ngo: finding module for package github.com/stretchr/testify/assert\ngo: finding module for package github.com/myesui/uuid/savers\ngo: finding module for package gopkg.in/stretchr/testify.v1/assert\ngo: finding module for package github.com/myesui/uuid\ngo: finding module for package github.com/BurntSushi/toml\ngo: finding module for package gopkg.in/yaml.v2\ngo: found github.com/revel/modules in github.com/revel/modules v1.0.0\ngo: found github.com/stretchr/testify/assert in github.com/stretchr/testify v1.7.0\ngo: found github.com/BurntSushi/toml in github.com/BurntSushi/toml v0.3.1\ngo: found gopkg.in/yaml.v2 in gopkg.in/yaml.v2 v2.4.0\ngo: github.com/revel/modules@v1.0.0 requires\n\tgithub.com/myesui/uuid@v1.0.0: reading github.com/myesui/uuid/go.mod at revision v1.0.0: unknown revision v1.0.0\n"
 completed.
ERROR 10:30:10   file.go:341: Unable to import this package            package=foobar/app 
ERROR 10:30:10   file.go:341: Unable to import this package            package=github.com/revel/revel 
ERROR 10:30:10  revel.go:107: Unable to execute                        error="Revel paths[error No revel found]" 

Right now I'm getting around this by copying and modifying my existing revel projects, but new ones neither run nor build.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions