You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have removed any sensitive information from my code snippets and submission.
App Id
d3akk1nl18rszx
AWS Region
us-east-1
Amplify Hosting feature
Build settings, Custom build image
Question
I changed the Node.js version in the build settings for both Amazon Linux 2 and a custom build image. In both cases, I successfully changed the build Node.js version. However, when I checked the logs in CloudWatch, it showed that the Lambda function was running with Node.js 16 instead of 18, which I had set in the build settings.
How can I change the runtime version to 18 for Lambda?
The text was updated successfully, but these errors were encountered:
I am facing the same issue with NextJS 14. Next JS 14 drops support for Node 16 and requires at least Node v18.17 - https://nextjs.org/blog/next-14
This means Amplify can not run Nextjs 14 until the lambda environment is upgraded.
Is there a timeline on when Node 18.17 will be supported? Thanks!
Before opening, please confirm:
App Id
d3akk1nl18rszx
AWS Region
us-east-1
Amplify Hosting feature
Build settings, Custom build image
Question
I changed the Node.js version in the build settings for both Amazon Linux 2 and a custom build image. In both cases, I successfully changed the build Node.js version. However, when I checked the logs in CloudWatch, it showed that the Lambda function was running with Node.js 16 instead of 18, which I had set in the build settings.
How can I change the runtime version to 18 for Lambda?
The text was updated successfully, but these errors were encountered: