We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
aah --version
$ aah --version aah v0.12.3 cli v0.13.4 go v1.12.1
Yes
macOS Mojave
Build a static binary of my project
The single binary built ;)
A build error
When building a single image binary (also happens with regular build) I get the following error:
FATAL # git.xxx.com/zzz/app/generated app/generated/add_controllers.go:45:42: undefined: models exit status 2
Some extra info to hopefully help you troubleshoot:
Workaround:
Reinstall aah cli:
aah cli
curl https://aahframework.org/install-cli | bash
and then rebuild the project:
$ aah b -s ... Build successful for 'zzz' [git.xxx.com/zzz] Application artifact is here: /Users/joel/git/zzz/build/zzz-ff3c0e5-dirty-darwin-amd64.zip
Thanks! Joel.
The text was updated successfully, but these errors were encountered:
AFAIR:
Sorry, something went wrong.
@joelsdc Thanks for reporting an issue.
Hi @jeevatkm, I think we can summarize that you have to rebuild the cli after every go version upgrade.
cli
Is there any way around this?
jeevatkm
No branches or pull requests
What version of aah are you using (
aah --version
)?Does this issue reproduce with the latest release?
Yes
What operating system are you using (such as macOS, Linux and Windows)?
macOS Mojave
What did you do?
Build a static binary of my project
What did you expect to see?
The single binary built ;)
What did you see instead?
A build error
Additional context
When building a single image binary (also happens with regular build) I get the following error:
Extra info
Some extra info to hopefully help you troubleshoot:
Workaround:
Reinstall
aah cli
:curl https://aahframework.org/install-cli | bash
and then rebuild the project:
Thanks!
Joel.
The text was updated successfully, but these errors were encountered: