I install revel framework:
go get github.com/revel/revel
go get github.com/revel/cmd/revel
I move to .../go/src and create new projext
revel new app
revel run app
but it doesn't work
This is revel version
.
Revel executing: displays the Revel Framework and Go version
WARN 11:53:15 version.go:71: Unable to extract version information from Revel library error,err=nil LOG15_ERROR="Normalized odd number of arguments by adding nil"
Revel Framework : Unknown (0.21.0 remote master branch)
Revel Cmd : 0.21.1 (0.21.1 remote master branch)
Revel Modules : Unknown (0.21.0 remote master branch)
go version go1.12.6 darwin/amd64
Why doesn't this work???
Error message:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x123d711]
goroutine 1 [running]:
github.com/revel/cmd/utils.FindSrcPaths(0x7ffeefbffb4a, 0x3, 0x1525cd0, 0x16, 0x0, 0xc0000de2d0, 0x0, 0x0, 0x4, 0x4, ...)
/Users/go/pkg/mod/github.com/revel/cmd@v0.21.1/utils/file.go:358 +0x481
github.com/revel/cmd/model.(*CommandConfig).SetVersions(0xc00000c1e0, 0x152489a, 0x14)
/Users/go/pkg/mod/github.com/revel/cmd@v0.21.1/model/command_config.go:301 +0xcb
github.com/revel/cmd/model.(*CommandConfig).UpdateImportPath(0xc00000c1e0, 0x12, 0x2)
/Users/go/pkg/mod/github.com/revel/cmd@v0.21.1/model/command_config.go:154 +0x685
main.main()
/Users/go/pkg/mod/github.com/revel/cmd@v0.21.1/revel/revel.go:94 +0x161