Nov 3, 2023 by
Brent Vatne
One month ago, on September 11th, Node 16 reached end-of-life and it no longer receives any form of support. For that reason, effective November 27th, 2023, we will migrate the default Node version from 16 to 18 on all EAS Build images. We have already updated the latest
image accordingly.
In the process of doing the Node.js upgrade, we will also drop our Ubuntu 18 images, because they do not support Node 18. The lowest available Ubuntu version will be 20.
The default Node version on EAS Build tracks the current maintenance LTS (see: Node.js releases). This is common practice for similar hosted services.
If you aren’t ready to make any changes yet and want to ensure that you remain on Node 16 after the effective date of the upgrade: you can explicitly lock your builds to Node 16 by adding the following to your build profiles: "node": "16.18.1"
.
To prepare your app for the upgrade (recommended), you can do the following:
"image": "latest"
on your build profiles, or, alternatively, "node": "18.18.0"
to install Node 18 on your currently used image.ubuntu-18.04-jdk-8-ndk-r19c
or ubuntu-18.04-jdk-11-ndk-r19c
as your build image.Using image "ubuntu-20.04-jdk-11-ndk-21.4.7075529" based on "ubuntu-2004-focal-v20220823"
.Most apps are unlikely to experience any issues as a result of this change; however, in some cases, projects may not build. For example, you may encounter dependencies that are incompatible with Node 18.
To keep your builds green, we encourage developers to either lock down the Node version, or prepare for the change / opt-in early, as suggested above.
If you are still unsure how to proceed, we recommend you ask questions in our 💬 Discord community.