- Newest
- Most votes
- Most comments
Support for nodejs14.x
was removed several months ago, specifically new function creation was blocked on January 9th, 2024 and existing function updates were blocked on February 8th, 2024. You can find info about deprecated runtimes here.
To resolve your problem, please use newer runtime version like nodejs16.x
or higher. You can find the list of supported runtimes here.
I had a similar situation, in my case we where using a cdk script which wasn't used in almost a year. It was made with cdk 2.59 and the package.json had such version in the devDependencies and dependencies for both aws-cdk and aws-cdk-lib.
Changing the version in the package.json file and installing the dependencies again with npm install -g , then cdk synth, cdk deploy worked for me.
Relevant content
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 2 months ago