Skip to content
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

NodeJS12.x no longer supported #118

Open
natarajc opened this issue Jun 15, 2023 · 5 comments
Open

NodeJS12.x no longer supported #118

natarajc opened this issue Jun 15, 2023 · 5 comments

Comments

@natarajc
Copy link

Resource handler returned message: "The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: a69c7ccc-989d-4881-9aa1-af558e228efe)" (RequestToken: 864b2930-449b-c86b-d064-c4472350398b, HandlerErrorCode: InvalidRequest)

How to fix the code to upgrade to 18x? Tried updating all the places where 12x to 19x but MTAStack still creates a template as 12x.

@bzahniser
Copy link

Anyone looking at this upgrade???

@nexiohealthtech
Copy link

Has anyone fixed this? I am having the same issue.

@jetani-ravi
Copy link

still facing same issue, has anyone fixed ?

@muhammadshahzad132
Copy link

muhammadshahzad132 commented May 6, 2024

Anyone facing this issue, you need to update your cdk version/code. I upgraded mine to cdk v2 and also had to update some react dependencies in package.json. After making these changes it dpeloyed successfully.

@sunilvb
Copy link

sunilvb commented Jun 18, 2024

Still very relevant sample app. Can we get some help to deploy it with supported runtime please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants