CLI hangs with "unexpected: --output is required" (is it related to NodejsFunction?)
See original GitHub issueAfter adding a NodejsFunction construct to my stack and having succesfully controller.zip
Reproduction Steps
Error Log
Environment
- CLI Version :
- Framework Version:
- Node.js Version:
- OS :
- Language (Version):
Other
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (12 by maintainers)
Top Results From Across the Web
class NodejsFunction (construct) · AWS CDK
Adds an environment variable to this Lambda function. If this is a ref to a Lambda function, this operation results in a no-op....
Read more >@aws-cdk/aws-lambda-nodejs | Yarn - Package Manager
The NodejsFunction construct creates a Lambda function with automatic transpiling and bundling of TypeScript or Javascript code. This results in smaller ...
Read more >node.js: program either exits unexpectedly or just hangs
When you run it as a script and it hangs when "done", it means node still has callbacks registered waiting for events.
Read more >How to Use Source Maps in TypeScript Lambda Functions ...
Although this PR has been merged to aws-lambda-builders, the engine behind sam build , it will still need to be added to aws-sam-cli...
Read more >My experience on Infra as Code with AWS CDK + Tips & Tricks
Make calls with the CLI or SDK to generate output then upload values ... Other times the destroy will hang until it times...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK, this is a duplicate of #9120
Dup #9120