cli-lib-alpha: unable to bundle NodejsFunction #26376
Labels
@aws-cdk/aws-lambda-nodejs
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
When using the
AwsCdkCli
from the@aws-cdk/cli-lib-alpha
package I'm unable to synthesise stacks containing aNodejsFunction
construct.Expected Behavior
The stack should synth & deploy normally, provided that all other parameters are valid.
Current Behavior
When attempting to synth the stack, an error is thrown:
Reproduction Steps
ICloudAssemblyDirectoryProducer
, along the lines of what described in the construct docs:src/index.ts
Full file below
Alternatively, clone this repo with the same code as above and run: https://github.com/dreamorosi/cdk-cli-poc
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.87.0
Framework Version
No response
Node.js Version
v18.12.1
OS
macOS
Language
Typescript
Language Version
5.1.6
Other information
No response
The text was updated successfully, but these errors were encountered: