Feature request: Add NodeJS 24 support - CodeBuild
Please add support for nodejs (Node.js) runtime version 24 for at minimum standard+ amazonlinux images - Here is an overview: https://blog.logrocket.com/node-js-24-new/
Please mind that Node.js 24 in Lambda is already in preview: https://github.com/aws/aws-lambda-base-images/issues/325 and AL2023 has this on the agenda as well: https://github.com/amazonlinux/amazon-linux-2023/issues/1000 Based on use-cases, it would be great if the support could be scheduled together (more or less) - This enable us to use different AWS services smoothly together.
This would be great please.... why are the codebuild/AL images not getting new versions very frequently?
Looks like aws-sam-cli 1.147.1 now supports nodejs24.
Not seeing nodejs24 in Lambda in the AWS Management Console yet, but I presume it must be coming soon to that.
https://aws-news.com/article/2025-11-25-aws-lambda-adds-support-for-nodejs-24
We can run node v24 but we can't build with it 🤔
At the moment as well as installing node, I run
pip install --upgrade aws-sam-cli
to update aws-sam-cli to a version compatible with deploying nodej24 lambdas.
Build times would be a lot better if nodejs24 and updated aws-sam-cli were included in the image
The lack of action on this repo is making us seriously considering moving to an alternative CI solution. Have a look at the amount of commits over the the last year, plus the amount of issues requesting updated build tool versions. Updating the image at run time unfortunately means longer build times and more cost. There is a misalignment of interest here.
I just created a support case in the AWS console hoping this will ping them.
With the latest CodeBuild runner images, aws/codebuild/standard:7.0 for example, nodejs 24 is pre-installed, but has not officially appeared in documentation https://docs.aws.amazon.com/codebuild/latest/userguide/available-runtimes.html
From this PR https://github.com/aws/aws-codebuild-docker-images/pull/792
In your buildspec file, you would be able to add a command n 24 to switch over to use the nodejs 24 runtime, but as stated earlier, means longer build times.
However, there's been a lot of compatibility issues discussed in https://github.com/npm/cli/issues where running npm ci with npm v11 is not able to correctly read package-lock.json lockfiles that were created from older versions of npm.
Filed an issue in this repo https://github.com/aws/aws-codebuild-docker-images/issues/800 for the npm v11 issue. It feels like the cited PR was merged without a lot of oversight and QA.
I am not seeing node 24 pre-installed in the AL2023 ARM codebuild image. It looks like it hasn't been added to that one yet.
Any update on this? Thanks