-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[aws-lambda-nodejs] NodejsFunction broken on v1.48.0 #8837
Comments
@eladb can you pin this issue? |
The `PackageJsonManager` was always targeting the `package.json` of `@aws-cdk/aws-lambda-nodejs` and not the one closest to the entry file. This was not detected in the tests inside the repo because both files are the same. Closes aws#8837
The `PackageJsonManager` was always targeting the `package.json` of `@aws-cdk/aws-lambda-nodejs` and not the one closest to the entry file. This was not detected in the tests inside the repo because both files are the same. Closes #8837 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@jogold when is this likely to be released? |
https://github.com/aws/aws-cdk/releases/tag/v1.49.0 |
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 ***@***.***> wrote:
@jogold <https://github.com/jogold> when is this likely to be released?
https://github.com/aws/aws-cdk/releases/tag/v1.49.0
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8837 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABMFJZSY3GF4IOS5R3JHELRZTFORANCNFSM4ONQHCFA>
.
--
tomandrews.co.uk
|
on cdk
|
@ookangzheng can you share your folder structure? Is it a git repository? |
This change likely broke our deployment - it does not take in account monorepos with private packages and lerna, which worked before this change. |
Hey @gergan, can you open a separate issue for this, detailing your setup? I'm using the construct in the exact same configuration (a monorepo with private packages and lerna). Would like to see where is the issue for your setup. |
@jogold Thanks for the fast response I have created a new issue and tried to explain our setup, if you need more information I'll be glad to provide it to you. |
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 |
The
NodejsFunction
construct is broken on v1.48.0 because it wrongly searches for the closestpackage.json
.Error Log
@parcel/core: Could not find target with name "cdk-lambda"
Environment
Other
Already working on a PR with fix.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: