question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CLI hangs with "unexpected: --output is required" (is it related to NodejsFunction?)

See original GitHub issue

After 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:closed
  • Created 3 years ago
  • Comments:19 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
jogoldcommented, Jul 20, 2020

OK, this is a duplicate of #9120

0reactions
eladbcommented, Jul 26, 2020

Dup #9120

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found