Node.js 18 Deprecation Warning on Ubuntu 24.04: Should I upgrade to Node 20 for a fresh install?

Hi everyone,

I am setting up a fresh server for Frappe/ERPNext on Ubuntu 24.04 LTS (Noble).

I followed the standard installation steps which suggest installing Node.js 18. However, when I ran the setup script today, I received a critical deprecation warning stating that Node 18 is End-of-Life (EOL) and no longer supported.

My Environment:

  • OS: Ubuntu 24.04 (Noble Numbat)
  • Goal: Fresh installation of Frappe Framework (targeting v15/v16)
  • Action Taken: curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -

The Warning Log:

2025-12-13 22:56:21 - DEPRECATION WARNING
Node.js 18.x is no longer actively supported!
You will not receive security or critical stability updates for this version. 

I am concerned about starting a new production server with an EOL Node version, but I also want to avoid build issues if Frappe has strict dependencies on Node 18.

Has anyone successfully deployed Frappe on Node 20 (LTS) recently without issues in bench build or socket.io, or should I stick to Node 18 despite the security warning?

Both Node.js 18 and 20 can be used in production. Use nvm to switch versions as needed (nvm use 18 or nvm use 20)

1 Like

If you check out the official frappe docker production image at frappe_docker/images/production/Containerfile at b647e0c8392d8fcfbdae5d27822ee714ce6e395a · frappe/frappe_docker · GitHub

you will see they are using node 20.19.2

Thanks

But i think node 20 is also gonna expire in May 2026 so should go for node 22?

I think be careful here… sometimes the frappe team have not tested on the latest versions and these could have unintended consequences.. i had a bad experience once

They are now moving to python 3.14 and node 24