- Newest
- Most votes
- Most comments
You’re not missing anything — this is expected behavior right now. Even though Node 22 is now supported on AL2023, Amplify doesn’t force an upgrade automatically on existing apps — it keeps your build running on the last known working Node version (v18 in your case) for stability.
If you want to test or migrate to Node 22, you can either:
Explicitly install Node 22 in amplify.yml using:
preBuild: commands: - nvm install 22 - nvm use 22 - node -v - yarn install
Or set a runtime override in the Amplify console (if they’ve rolled that out for your app type).
I’d suggest explicitly setting Node 22 in your build to avoid a surprise later. AWS usually gives a grace period before they deprecate the old runtime completely, which is why your build still succeeds today.
Based on the information provided, there appears to be a misunderstanding about the timeline and automatic upgrade process for Node.js versions in AWS Amplify.
The end of support date for Node.js 14, 16, and 18 in AWS Amplify is September 15, 2025 - which is still in the future, not yesterday. This means Amplify will continue to support these Node.js versions until that date next year.
According to the documentation you referenced, the Amazon Linux 2023 build image currently supports Node.js 20 by default, but it will only automatically change its default Node.js version from 18 to 22 starting on September 15, 2025. Since that date hasn't arrived yet, your deployments are still using Node.js 18 as expected.
If you want to upgrade to Node.js 22 before the automatic transition date, you'll need to explicitly specify the Node.js version in your Amplify configuration. You can do this by:
- Adding a nodeVersion setting in your amplify.yml file:
settings:
nodeVersion: "22"
- Or by using nvm commands in your preBuild phase:
preBuild:
commands:
- nvm install 22
- nvm use 22
- node -v
- You can also specify Node.js version requirements in your package.json:
"engines": {
"node": ">=22.0.0"
}
The automatic upgrade to Node.js 22 will only happen after the end of support date next year, not immediately.
Sources
How to identify Nodejs version being use for Amplify app using Next.js - SSR Framework | AWS re:Post
my amplify deploy app problem | AWS re:Post
Relevant content
- asked 3 years ago
- asked 10 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 years ago
We are using AL2023 and the docs of AWS said 🤔 "Starting on September 15, 2025, the AL2023 image will automatically support Node.js 22 and change its default Node.js version from 18 to 22."
https://repost.aws/questions/QUqZVX87sjRZyf1TIocMBwUA/amplify-does-not-automatically-upgrade-to-node-22-after-end-of-support-announcement#AN2-PIOesXR3io6rO2zJULDw