lambda-layer-canvas-nodejs icon indicating copy to clipboard operation
lambda-layer-canvas-nodejs copied to clipboard

Support for node 22

Open mgohin opened this issue 1 year ago • 6 comments

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 ;)

mgohin avatar Dec 09 '24 16:12 mgohin

Would love to see that as well!

jimmyn avatar Feb 14 '25 15:02 jimmyn

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~ ^^

charoitel avatar Apr 24 '25 18:04 charoitel

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)

JerryBels avatar Apr 24 '25 19:04 JerryBels

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)

samevision avatar Apr 24 '25 22:04 samevision

Just fixed by correcting the CompatibleRuntimes value in SAM, please try again. My apologies for any inconvenience caused. Thank you~ ^^"

charoitel avatar Apr 24 '25 23:04 charoitel

Thank you very much. It's working!

samevision avatar Apr 25 '25 06:04 samevision

Looks stable for now, I am going to close this issue then, thanks so much for everyone's support and help~ ^^

charoitel avatar Apr 28 '25 14:04 charoitel