(aws-lambda-js): NodejsFunction bundle fails when path contains a space #17631
Labels
@aws-cdk/aws-lambda-nodejs
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
What is the problem?
Running
cdk deploy
from a cdk project in a path that contains spaces results in an error.Reproduction Steps
NodejsFunction
in a directory that contains spaces.cdk deploy
What did you expect to happen?
Deploy to be successful.
What actually happened?
Deploy fails with the following:
CDK CLI Version
1.133.0 (build 2dea31a)
Framework Version
No response
Node.js Version
v16.11.1
OS
Fedora 35
Language
Typescript
Language Version
No response
Other information
Moving from
cdk with spaces
tocdk
results in a successful build and deploy.The failed command does not have quotes around the file paths to deal with spaces.
The text was updated successfully, but these errors were encountered: