Question

App Platform Node Build Pack can't use node version 18+

I’m trying to use nodejs 18.x.x on the app platform but can’t. Is the buildpack limited to nodejs 16/17?

If so when will it be updated to support 18+?

Show comments

Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
June 2, 2024
Pinned Answer

Hi there,

Quick update here in case anyone comes across this in the future.

DigitalOcean has now improved functionality with managing NodeJS runtime support from 6.x - 21.x.

You can check out the official documentation page for more information here:

https://docs.digitalocean.com/products/app-platform/reference/buildpacks/nodejs/#current-buildpack-version-and-supported-runtimes

- Bobby

Accepted Answer

Node 16 is ending security support in less than 2 months. Production apps shouldn’t be running Node 16 at this point. I’m moving away from DigitalOcean after years of using it. They had more than a year to do the update. Clearly, maintaining AppPlatform is not a priority for DigitalOcean. https://endoflife.date/nodejs

Kamal Nasser
DigitalOcean Employee
DigitalOcean Employee badge
February 27, 2023

Hello folks, I wanted to provide a update on this. This is a very high priority for us given the EOL timelines.

The reason Node v18 is not supported with Buildpack builds currently is because it requires Ubuntu 20.04 or higher (due to an underlying version requirement on the glibc dependency) while our buildpack build system is based on Ubuntu 18.04.

This is taking longer than it sounds like it should because we need to upgrade the entire Buildpack build system to a newer version of Ubuntu before we can add support for Node v18. Ubuntu 18.04 also reaches end of life in April, 2023 so I promise we are doing our best to get this done ASAP.

I know this isn’t the update everyone has been looking for, but I’m hoping we’ll have better news for you soon.

We will post another update here once this is available and also on the official changelog at https://docs.digitalocean.com/products/app-platform/#latest-updates.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.