Skip to content

Support for node 22 #28

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

Closed
mgohin opened this issue Dec 9, 2024 · 7 comments
Closed

Support for node 22 #28

mgohin opened this issue Dec 9, 2024 · 7 comments
Assignees

Comments

@mgohin
Copy link

mgohin commented Dec 9, 2024

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

@jimmyn
Copy link

jimmyn commented Feb 14, 2025

Would love to see that as well!

@charoitel
Copy link
Owner

Hello, thanks for supporting.

There is a new release just published on AWS Serverless Application Repository with update to canvas@3.1.0 and support nodejs22.x, please check and let me know if you have any issue.

Hope everyone enjoy the new release. Thanks~ ^^

@charoitel charoitel self-assigned this Apr 24, 2025
@JerryBels
Copy link

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)

@samevision
Copy link

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)

@charoitel
Copy link
Owner

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

@samevision
Copy link

Thank you very much. It's working!

@charoitel
Copy link
Owner

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

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

5 participants