Skip to content
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

amplify build-related commands failing for Go Lambdas in Windows because of wrong argument to executeCommand #13790

Closed
2 tasks done
redjonzaci opened this issue May 22, 2024 · 1 comment · Fixed by #13789
Closed
2 tasks done
Labels
bug Something isn't working functions Issues tied to the functions category p2

Comments

@redjonzaci
Copy link
Contributor

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

No response

Amplify CLI Version

12.12.0

What operating system are you using?

Windows

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

no manual changes made.

Describe the bug

i cannot build Lambda functions in Go because of:

executeCommand(['go.exe', 'install', 'github.com/aws/aws-lambda-go/cmd/build-lambda-zip@latest'], true, envVars, srcDir);

it passes go.exe as an argument to go command which is used inside executeCommand.

Expected behavior

should be able to build Go Lambda functions in Windows.

my #13789 PR should fix this.

Reproduction steps

try amplify build in Windows in a project that has Go Lambda functions.

Project Identifier

No response

Log output

No response

Additional information

No response

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.
@redjonzaci redjonzaci added the pending-triage Issue is pending triage label May 22, 2024
@redjonzaci redjonzaci changed the title amplify build-related commands failing for Go Lambdas on Windows because of wrong argument to executeCommand amplify build-related commands failing for Go Lambdas in Windows because of wrong argument to executeCommand May 22, 2024
@ykethan ykethan added bug Something isn't working functions Issues tied to the functions category p2 and removed pending-triage Issue is pending triage labels May 29, 2024
Copy link

github-actions bot commented Jul 2, 2024

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working functions Issues tied to the functions category p2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants