Support for node 22
First, thanks for this layer, I did fight all day long to make it work (no comments haha), and yours is working !
Any plan to make a Node 22 version ?
Thanks ;)
Would love to see that as well!
Hello, thanks for supporting.
There is a new release just published on AWS Serverless Application Repository with update to [email protected] and support nodejs22.x, please check and let me know if you have any issue.
Hope everyone enjoy the new release. Thanks~ ^^
Hey @charoitel, I'm just starting up with Lambda so here is to hoping it's not my mistake :) I just tried to deploy your layer, but when I do and check CloudFormation's events, I get CREATE_FAILED with status reason:
Resource handler returned message: "1 validation error detected: Value '[null]' at 'compatibleRuntimes' failed to satisfy constraint: Member must satisfy enum value set: [nodejs20.x, provided.al2023, python3.12, python3.13, nodejs22.x, java17, nodejs16.x, dotnet8, python3.10, java11, python3.11, dotnet6, java21, nodejs18.x, provided.al2, ruby3.3, ruby3.4, java8.al2, ruby3.2, python3.8, python3.9] (Service: Lambda, Status Code: 400, Request ID: id) (SDK Attempt Count: 1)" (RequestToken: token, HandlerErrorCode: GeneralServiceException)
Unfortunately I am not able to use it either:
Resource handler returned message: "1 validation error detected: Value '[null]' at 'compatibleRuntimes' failed to satisfy constraint: Member must satisfy enum value set: [nodejs20.x, provided.al2023, python3.12, python3.13, nodejs22.x, java17, nodejs16.x, dotnet8, python3.10, java11, python3.11, dotnet6, java21, nodejs18.x, provided.al2, ruby3.3, ruby3.4, java8.al2, ruby3.2, python3.8, python3.9] (Service: Lambda, Status Code: 400, Request ID:) (SDK Attempt Count: 1)" (HandlerErrorCode: GeneralServiceException)
Just fixed by correcting the CompatibleRuntimes value in SAM, please try again. My apologies for any inconvenience caused. Thank you~ ^^"
Thank you very much. It's working!
Looks stable for now, I am going to close this issue then, thanks so much for everyone's support and help~ ^^