-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
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
Comments
dreamorosi
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Jul 15, 2023
2 tasks
This could be related to #20873 I am making this a p1 but as |
pahud
added
p1
effort/medium
Medium work item – several days of effort
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Jul 15, 2023
Hi @pahud thank you replying and providing a link to another issue. I am positive that this is indeed related to #20873. Using the workaround described in this comment makes the error go away. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:/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: