Closed migu0 closed 3 months ago
I faced this issue as well, you can just use nodejs16.x instead!
@migu0 In order to achieve this, I bumped the version in yolov8-pytorch-cdk/requirements.txt
:
aws-cdk-lib==2.22.0 -> 2.28.0
which seemed to fix it for me, they apparently upgraded the node version to sixteen in the cdk 2.28.0 release
Tried this fix and got nodejs14.x is no longer supported
. So you need to work out what the latest workable release is. This page contains all the aws-cdk
releases. You could go with the latest one (at the time of writing that's 2.131.0) however I was a bit concerned about the upgrade to python3.12 so landed on 2.96.0 which includes an upgrade to nodejs.18 for lambda. YMMV.
Hi @kcsong and @rpshah,
Thanks a lot for this script. I got the following error when clicking on your "Launch stack" button on N. Virginia region:
CustomS3AutoDeleteObjectsCustomResourceProviderHandler
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: 42532834-d584-4dae-8feb-8827ed878a0e)" (RequestToken: ec4fa608-8ac9-5375-8694-db3f03b8e431, HandlerErrorCode: InvalidRequest)
Any chance this can be updated so that I can re run?
Thank you, Michael