New cloud.gov Pages default Node.js version for site builds
The cloud.gov Pages team updated the default Node.js version for customer site builds from 18 to 20 on January, 8th 2025. We currently support LTS Node.js versions 18, 20, and 22 for site builds. If you want to continue to use Node.js v18, be sure to pin it using engines in your site’s package.json file or with a .npmrc file. The Node.js team announced they will end support for v18 midway through 2025, so we encourage you to make sure your sites work with v20 or v22.
If you have any questions about updating your Node.js version or are experiencing any problems, please contact us at pages-support@cloud.gov.