-
Notifications
You must be signed in to change notification settings - Fork 560
Users unable to get get build-lambda-zip (Failed on MacOS, Windows 10 and 11) #463
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
Users unable to get get build-lambda-zip (Failed on MacOS, Windows 10 and 11) #463
Comments
I have reproduced this on a brand new clean install of win11 as well as an older install of win10. All attempts to get the tools needed to deploy simply fail with no error message or output of any kind. No tools are added to any ./bin/ folder. |
|
Looks like dependencies are failing |
Its important to note that this is on a brand new install. No prior versions of anything go related are on the system because its a new win11 box. |
|
AWS must have moved stuff on GitHub and broken the download link? |
Respectfully tagging @calavera as I'm worried this is very broken and its actively blocking deployments from multiple different machines. |
I'm getting the same output on a MBP, so updating title. |
What version of go are you using? go 1.18 removed the ability to use |
On: Windows 11 and Windows 10: go version -> go1.19 windows/amd64 I'm just following the official readme; If the documentation needs updated that should be done as well. Edit: I also have not touched go in a while (since 2021) and am coming back to it after v17 so this was clearly something I missed, but the aws project docs saying to do things that your saying are unsupported are also clearly possibly wrong. |
sorry folks, I'm not involved in this package. |
go 1.18 removed the ability to use `go get` to install binaries. we should use `go install` instead. fixes aws#463
I created a pull request #464 fixing the README. The developers document also should be fixed. https://docs.aws.amazon.com/lambda/latest/dg/golang-package.html#golang-package-windows |
go 1.18 removed the ability to use `go get` to install binaries. we should use `go install` instead. fixes aws/aws-lambda-go#463
Docs also need amd64 verses arm64 clarification. In GO, amd64 is x86 by default, but the docs currently state that arm64 is the expected platform; but if amd64 is used and x86 binaries are uploaded to AWS they do not work on graviton because AWS is expecting arm64 binaries. Yes the docs all say amd64, not arm64. These are VERY different things. Again. is it arm64 or amd64? The docs all say amd64 and yet only arm64 actually works on the platform in my own testing. |
I can file a separate bug for that if needed, let me know. Imagine the adoption that this has stopped. Sounds like an expensive documentation bug. |
go 1.18 removed the ability to use `go get` to install binaries. we should use `go install` instead. fixes #463
Windows users can not get build-lambda-zip
Repro Steps
On a clean win10 or win11 machine (this repos on both of mine) open an admin console:
go get -v -u github.com/aws/aws-lambda-go/cmd/build-lambda-zip
Actual Result: <no output from command, no binaries created in any directory>
No binaries get downloaded or build, nothing ends up in any of the bin directories.
The text was updated successfully, but these errors were encountered: