Skip to content
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

Creation fails because of nodejs12.x deprecated #47

Open
sankalpmukim opened this issue Jun 8, 2023 · 2 comments
Open

Creation fails because of nodejs12.x deprecated #47

sankalpmukim opened this issue Jun 8, 2023 · 2 comments

Comments

@sankalpmukim
Copy link

I am mostly a beginner so if I am doing anything wrong or have not provided enough information so please ask. This is important for my job and I am already beyond deadline so any help and insight will be greatly appreciated.

I am trying to deploy this(https://serverlessrepo.aws.amazon.com/applications/arn:aws:serverlessrepo:us-east-1:552623489034:applications~amplify-passwordless-sms-auth) stack in the ap-southeast-1 region. I change the region after clicking on the given link from the console's top right.

Then after giving a name and deploying, I get the same issue again and again (tried twice).

As I have attached in the screenshot, this function creation is the first to fail in the stack. After that the entire stack is rolledback. Please guide as to how to move forward.

Screenshot from 2023-06-08 12-08-22

@imdkbj
Copy link

imdkbj commented Jun 9, 2023

Hey! As error stated, Node12 support has been dropped for lambda. You have to change the run time to 16.x or 18.x or 20.x whatever you think is ok.

Change in https://github.com/mobilequickie/amplify-passwordless-sms-auth/blob/master/backend/template.yaml at line 42

Runtime: nodejs12.x
to
Runtime: nodejs18.x
and then deploy.

@romoore
Copy link

romoore commented Jan 19, 2024

When will the template be fixed/updated with the latest supported Node version?

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

3 participants