aws-lambda-nodejs: Paths with Spaces Break ESBuild #13311
Labels
@aws-cdk/aws-lambda-nodejs
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
When creating a NodeJS lambda function using the aws-lambda-nodejs module, if a path has spaces in it on Windows, then esbuild will fail to properly bundle the package.
Reproduction Steps
npm run build
cdk synth
What did you expect to happen?
cdk synth
should create the CloudFormation template as expected.What actually happened?
Receiving the error
error: Must use "outdir" when there are multiple input files
Environment
Other
Issue #13210 previously reported this and Pull Request 13268 attempted to fix it. However, after testing this out locally on my Windows machine, this does not seem to have actually resolved it. I have a fix incoming for this now and will make sure to reference this issue.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: