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

CDK for Go requires bash #53

Merged
merged 1 commit into from
Feb 12, 2024
Merged

Conversation

davemackintosh
Copy link
Contributor

Bundling of Go code doesn't work without bash as required by the CDK.

@davemackintosh
Copy link
Contributor Author

It fixes this error I get in my Github actions since I switched back to this release channel. Error: spawnSync bash ENOENT

go: downloading github.com/Masterminds/semver/v3 v3.2.1
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.5
Bundling asset auth/create-user-from-cognito/Code/Stage...
panic: Failed to bundle asset auth/create-user-from-cognito/Code/Stage, bundle output is located at /github/workspace/cdk.out/bundling-temp-5ddc6744cceac05b114e1c52e[50](https://github.com/sale-nook/backend/actions/runs/7861034937/job/21448903462#step:8:51)ce54f0fcff1d63ed19a47186b212c603658db-error: Error: spawnSync bash ENOENT

goroutine 1 [running]:
github.com/aws/jsii-runtime-go/runtime.Create({0x142fcf7, 0x27}, {0xc00043b710, 0x3, 0x3}, {0x13c0460, 0xc00041eb90})
	/go/pkg/mod/github.com/aws/[email protected]/runtime/runtime.go:202 +0xd3a

@ScottBrenner ScottBrenner merged commit 458072d into ScottBrenner:master Feb 12, 2024
2 of 3 checks passed
@ScottBrenner
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants