Updating Node.js version requires coordination across multiple systems and compatibility testing.
The issue involves updating Node.js to v24 LTS to align with documentation and leverage new features, requiring compatibility testing across Gutenberg, WordPress Core, and default themes, as well as coordination with build server updates.
The project is currently configured to expect Node.js v20 (minimum version v20.10.0).
This produces a few challenges:
Update the expected version of Node.js to v24.x, the current Active LTS.
This may require a few steps, as outlined by @desrosj in https://github.com/WordPress/gutenberg/pull/70844#issuecomment-3160135370 :
- Testing compatibility in both Gutenberg and WordPress Core
- Confirming compatibility with the 3 default themes that have a
package.jsonfile and build process- Coordinating the update to happen in both locations around the same time
- Requesting that the new version be installed on the wordpress.org build server.
An additional step I'd recommend is changing the .nvmrc to specifically pin to the version of Node.js used on WordPress build servers, to ensure everyone is using the same version and to ensure compatibility across build environments.
Some of the work to support thi
Claim this issue to let others know you're working on it. You'll earn 25 points when you complete it!