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
You must call hexya module new from a project directory #128
Comments
configfilename = "" [db] [server] my system: ubuntu 18.04 go 1.15 hexya server -o github.com/hexya-addons/base../../go/pkg/mod/github.com/hexya-addons/base@v0.1.6/attachment.go:61:35: undefined: m.AttachmentSet github.com/hexya-addons/web/controllers../../go/pkg/mod/github.com/hexya-addons/web@v0.1.7/controllers/action.go:24:12: undefined: h.User can you run right? please tell me how to do |
Hello I also get an error, when running "hexya module new openacademy" from the tutorial, the following error appears: "You must call the hexya new module from the project directory." Windows 10, Go 1.16.3 Issue is in cmd/module.go:80 Fixed by adding delete characters "'\n" |
It looks like you're encountering issue #128 related to calling 'hexya module new' from a project directory. Have you considered navigating to your project directory before executing the command? Double-checking your current directory and trying again might resolve the problem on Slide Share. If issues persist, consulting the documentation or community forums could provide additional insights. Happy coding! |
Hi,
I'm getting the following error "You must call hexya module new from a project directory" when running the "hexya module new openacademy" from the tutorial. Windows 10, Go 1.15.6
Issue is in cmd/module.go:78
c := exec.Command("go", "list", "-f", "'{{ .Name }}")
Fixing the .Name like this works for me
c := exec.Command("go", "list", "-f", "'{{.Name}}'")
Which is equivalent to this
go list -f '{{.Name}}'
The text was updated successfully, but these errors were encountered: