[aws-lambda-nodejs] NodejsFunction broken on v1.48.0
See original GitHub issueThe NodejsFunction
construct is broken on v1.48.0 because it wrongly searches for the closest package.json
.
Error Log
@parcel/core: Could not find target with name "cdk-lambda"
Environment
- CLI Version : 1.48.0
- Framework Version: 1.48.0
- Node.js Version: all
- OS : all
- Language (Version): all
Other
Already working on a PR with fix.
This is 🐛 Bug Report
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:10 (4 by maintainers)
Top Results From Across the Web
AWS Lambda function errors in Node.js
This page describes how to view Lambda function invocation errors for the Node.js runtime using the Lambda console and the AWS CLI.
Read more >Homepage - AWS Lambda Powertools for TypeScript
A suite of utilities for AWS Lambda functions running on the Node.js runtime, to ease adopting best practices such as tracing, structured logging,...
Read more >Upgrading to Serverless Framework v3
Service configuration. The default Lambda runtime has changed from NodeJS 12 to NodeJS 14, given this is now the default runtime recommended by...
Read more >Monitoring AWS Lambda Node.js Functions - Elastic
The Node.js APM Agent can be used with AWS Lambda to monitor the execution of your AWS Lambda functions. Quick Startedit. To get...
Read more >@aws-cdk/aws-lambda-nodejs | Yarn - Package Manager
Node.js Function. The NodejsFunction construct creates a Lambda function with automatic transpiling and bundling of TypeScript or Javascript code.
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 FreeTop 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
Top GitHub Comments
For anyone who comes here from Google like I did - I had this problem because I didn’t have a Git repo set up (I was testing something out). When I did
git init
that fixed the problem. See https://github.com/jogold/aws-cdk/blob/master/packages/@aws-cdk/aws-lambda-nodejs/lib/bundling.ts#L107 .Thanks for this and your work on CDK. It’s so much better than the alternatives.
On Thu, 2 Jul 2020 at 19:18, Jonathan Goldwasser notifications@github.com wrote:
– tomandrews.co.uk