In short and in plain language
A shop runs on PHP. To build it, it needs one more tool. That tool is called Node.js. It builds parts of the shop, such as the pages for the shop team.
Node.js comes in many versions. Each version gets help for a set time only. Version 20 has had no help since April 2026. Help for version 22 ends in April 2027.
Without help, holes do not get fixed. A hole then stays open. So the shop should be built with version 24.
First you find all the places where the shop is built. Then you set the version in one place. Then you test the change on a copy of the shop.
You put the next date in the calendar. That way the end does not come as a shock.
PHP is on 8.4, the database was just updated, the last Shopware update went through without findings. And yet many shops run a component few people have on their list: the Node.js version that builds the Administration, the Storefront JavaScript and the extensions. According to its update guide, Shopware 6.7 requires "Node.js 20 or higher" (Shopware Update Guide 6.7). That exact line reached end-of-life on April 30, 2026 (Node.js Release Working Group), and Node.js 22 follows on April 30, 2027 (Node.js Release Working Group). The Node.js project recommends that production applications only use Active LTS or Maintenance LTS releases (Node.js). The shop's minimum requirement and the support status of the runtime are two different questions. This article shows where Node.js sits in a Shopware setup, what Shopware states in its documentation and source code, what end-of-life means for the build chain, and how to pin the version, test the switch and put the next date in the maintenance calendar.
Key takeaways
- Node.js 20 has been end-of-life since 2026-04-30, Node.js 22 ends on 2027-04-30, Node.js 24 on 2028-04-30 and Node.js 26 on 2029-04-30 (Node.js Release Working Group).
- Shopware 6.7 lists "Node.js 20 or higher" as a requirement (Shopware Update Guide 6.7), the hosting guide recommends Node 24 with npm 10 (Shopware documentation). The minimum says what the shop builds with, not what is supported.
- In June, July and October 2026, security releases shipped only for 26.x, 24.x and 22.x (Node.js). According to Node.js, an end-of-life version is affected by every security release and gets no fix.
- Node.js sits in four places: build server, CI pipeline, agency machines and extensions with their own build. Each place gets a version field in the inventory, measured with node -v and npm -v.
- The version lives in one place in the project and is enforced in the build: engine-strict makes npm stop on an unsupported Node version, npm ci stops when lock file and package.json disagree (npm documentation).
- The switch to Node.js 24 runs through staging with a fresh Administration and Storefront build, the last artifact stays available as the way back, and the next date goes into the maintenance calendar before 2027-04-30.
Where Node.js sits in a Shopware setup
A Shopware shop runs on PHP. Look for a Node process on the production server and in many installations you will not find one. Node.js works one step earlier: it builds the Administration, the Storefront JavaScript and the interface parts of extensions into finished files that the server then simply delivers. Shopware's hosting guide still lists Node.js and npm as a required part of the application stack (Shopware documentation), because without them the Administration and Storefront cannot be rebuilt.
Shopware 6.7 rebuilt this chain. The update guide describes the move from Webpack to Vite as a modernization of the frontend toolchain and points out that plugins with admin components need separate versions for 6.6 and 6.7 (Shopware Update Guide 6.7). Moving between 6.6 and 6.7 therefore means building not only with a different tool but often with different releases of the extensions as well.
For professional deployments Shopware recommends a fixed flow: build artifacts once in CI and deploy exactly those artifacts (Shopware documentation). Shopware CLI implements this with shopware-cli project ci. The command compiles missing extension assets and then removes files such as the node_modules folder to keep the artifact small (Shopware documentation). That is clean, but it moves the Node version question from the server into the pipeline: whatever ships was built by a Node version that is no longer visible in the finished package.
Then there are extensions that bring their own assets. The Shopware CLI documentation states that an extension has to provide its compiled assets if it is to be released in the Store or uploaded to a shop without rebuilding Storefront and Administration (Shopware documentation). Which Node version the vendor used to build those files is not stated there. The same applies on a smaller scale to custom plugins: Shopware compiles a plugin's JavaScript into its dist folder, and the compiled file is meant to ship with the plugin (Shopware documentation).
What Shopware requires and what it recommends
Shopware states the Node version in several places, and the statements do not match exactly. For Shopware 6.6 the update guide requires "Node 20" (Shopware Update Guide 6.6), for 6.7 "Node.js 20 or higher" (Shopware Update Guide 6.7). The hosting guide for Shopware 6 names Node 20.0.0 as the minimum and recommends Node 24 with npm 10 (Shopware documentation). Which statement applies depends on what it was written for.
The source code is the most precise. The package.json of the Administration in Shopware 6.7.16.0 declares Node 20 to 25 and npm 10.0.0 or later as the supported range (Shopware source code). In the same version the Storefront declares Node 20.19.0 or later within the 20 line, or 22.12.0 or later, together with npm 11.8.0 or later (Shopware source code). Node.js 26, Active LTS since October 28, 2026 (Node.js Release Working Group), is therefore still outside the range the Administration declares.
| Source | Node.js statement | What it says |
|---|---|---|
| Shopware Update Guide 6.6 | Node 20 | requirement for the update to 6.6 |
| Shopware Update Guide 6.7 | Node.js 20 or higher | lower bound for 6.7 |
| Shopware documentation, hosting guide | minimum Node 20.0.0, recommended Node 24 with npm 10 | recommendation for the application stack |
| Shopware source code, Administration 6.7.16.0 | Node 20 to 25, npm 10.0.0 or later | range the build is designed for |
| Shopware source code, Storefront 6.7.16.0 | Node 20.19.0 or later, or 22.12.0 or later, npm 11.8.0 or later | range the build is designed for |
All of these statements answer the same question: what can the shop be built with? None answers the second one: does this Node version still receive security updates? A minimum stays in place until the vendor raises it in a later release. The support status of the runtime, on the other hand, follows the Node.js project's calendar. Since April 30, 2026, the lower bound of Shopware 6.7 therefore points to a line without support (Node.js Release Working Group).
The Node.js release schedule
Node.js publishes major versions on a fixed calendar. A new major version first spends six months in Current status (Node.js). Up to and including Node.js 26, only the even-numbered versions became LTS lines, while the odd-numbered ones ran out after six months (Node.js). LTS stands for long-term support, during which critical bugs are typically fixed for a total of 30 months (Node.js). That period has two phases: Active LTS also receives audited new features, Maintenance essentially only critical bug fixes and security updates (Node.js Release Working Group).
| Line | Status on 2026-11-18 | Maintenance from | End-of-life |
|---|---|---|---|
| Node.js 20 (Iron) | End-of-Life | 2024-10-22 | 2026-04-30 |
| Node.js 22 (Jod) | Maintenance LTS | 2025-10-21 | 2027-04-30 |
| Node.js 24 (Krypton) | Maintenance LTS | 2026-10-20 | 2028-04-30 |
| Node.js 26 (Lithium) | Active LTS | 2027-10-20 | 2029-04-30 |
The table follows the release schedule in the nodejs/Release repository (Node.js Release Working Group). The schedule itself notes that dates are subject to change. If a change is planned, it is announced with no less than 14 days notice (Node.js Release Working Group). For maintenance planning the end dates are therefore reliable enough to put in the calendar.
From Node.js 27 the rhythm changes. Every line first goes through an Alpha phase, every line becomes LTS, and every line receives 30 months of long-term support, a total of 36 months from its first Current release to end-of-life (Node.js Release Working Group). The move into long-term support then falls in October each year (Node.js Release Working Group). For shops this means one line change per year on a fixed date. We treat a shop build as a production application in the sense of the Node.js project's recommendation, even if it only runs once per deployment.
What end-of-life means for the build chain
Once a version reaches end-of-life it no longer receives updates, including security patches (Node.js). The project's EOL page lists four consequences: vulnerabilities stay open even when they are fixed in newer lines; toolchains can break because old versions may no longer link against newer versions of shared system libraries, which can block system updates; ecosystem packages drop support; and many industry audits forbid unmaintained runtimes (Node.js).
The security releases after April 30, 2026 show what that looks like. With announcements dated June 18, July 29 and October 21, 2026, the Node.js project published updates for the 26.x, 24.x and 22.x lines (Node.js). The highest severity fixed in each of these lines was HIGH (Node.js). There was no update for 20.x. In these announcements the project explicitly states that end-of-life versions are affected whenever a security release occurs (Node.js). The last release of the 20 line dates from March 24, 2026 (Node.js).
A build server is not an isolated system. It downloads packages from the registry, runs their install scripts and writes the result into files that later run in your customers' browsers. Among the issues in the October release are two flaws rated HIGH in TLS certificate checks (Node.js), the part that also secures downloads over HTTPS. Whether a specific flaw affects a specific build can be assessed case by case. On a line that has reached end-of-life that assessment is moot, because there is no fix anyway.
Then there is the creeping part. Many popular packages drop support for end-of-life Node versions over time (Node.js). A build on Node.js 20 then stays on older releases of build tools and libraries, and the gap widens every month. The eventual jump gets bigger and often lands in exactly the weeks when a Shopware security update needs to go live quickly. How PHP's package manager handles security advisories in such moments is covered in the article on Composer blocking an update.
Node.js 22 until April 2027 or straight to 24?
Anyone still building with Node.js 20 today has two realistic targets. Node.js 22 is supported, but it has been in Maintenance since October 21, 2025 and ends on April 30, 2027 (Node.js Release Working Group). From the publication of this article that is a little over five months. Node.js 24 has been in Maintenance since October 20, 2026 and is supported until April 30, 2028 (Node.js Release Working Group). Shopware recommends exactly this line in its hosting guide (Shopware documentation), and it falls within the ranges that the Administration and Storefront declare in 6.7.16.0 (Shopware source code).
An intermediate step to 22 only makes sense if an extension demonstrably does not build on 24. In that case the second jump belongs in the calendar right away. Node.js 26 has been the Active LTS line since October 28, 2026, with support until April 30, 2029 (Node.js Release Working Group). For the Administration of Shopware 6.7.16.0, however, 26 is still outside the range declared in its package.json (Shopware source code). Until Shopware adds that line, 26 is a candidate for testing, not for production builds.
npm usually changes along with Node. Node.js 22.23.4 ships with npm 10.9.9, Node.js 24.22.2 ships with npm 11.19.1 (Node.js). The Storefront of Shopware 6.7.16.0 declares npm 11.8.0 or later in its package.json (Shopware source code), while the hosting guide names npm 10 (Shopware documentation). With Node.js 24 and its bundled npm, both package.json statements are met. Without the engine-strict setting, the engines field is advisory only according to the npm documentation (npm documentation); it does not force the build to stop. That is exactly why a mismatched version rarely stands out in the build log.
Inventory: where the version lives
Before a version is pinned, it has to be clear where builds actually happen. In practice there are four places, and each can run a different version. Shopware's hosting guide names the commands node -v and npm -v for checking your own environment (Shopware documentation). Run them in each of the four places and record the result with a date in the inventory.
- Build server: the machine that runs
bin/console, the build scripts orshopware-cli project ci. If Node comes from the distribution's package system, it ages along with it. For the layers underneath, see the article on operating system and database end-of-life. - CI pipeline: the version sits in the container image or in a setup step of the pipeline. An image tag without a major version moves along unnoticed, while a pinned tag stays put until someone changes it.
- Agency and developer machines: whoever builds locally and commits the result brings their own Node version. Two developers with different versions can produce two different builds from the same commit.
- Extensions with their own build: Store extensions ship compiled assets, and so do custom plugins. Here the answer comes from asking the vendor or looking at their build configuration.
Extensions deserve a second look. Shopware CLI builds an extension's assets against the lowest compatible Shopware version listed in composer.json or manifest.xml (Shopware documentation). An extension that covers several Shopware versions is therefore built against the oldest of them. Whether that fits your shop's build chain is something to clarify with the vendor. Extensions whose last build lies far back are covered in the article on abandoned plugins.
Pinning the version
An inventory describes the current state. To keep the places from drifting apart again, the version needs a fixed home in the project and a point where the build enforces it. In our projects a version file in the shop's repository has worked well, from which CI derives its image and developers their local environment. It names the major version, 24, not an exact patch level: patches within the line should come in without a change to the project.
npm offers two levers. The engine-strict setting makes npm refuse to install any package that claims not to be compatible with the running Node version (npm documentation); it is off by default. Custom plugins with their own package.json can also use the devEngines field. It is meant to keep everyone working on a codebase on the same tooling and is checked before install, ci and run (npm documentation). With onFail set to error, the run stops on the wrong runtime instead of only warning.
{
"devEngines": {
"runtime": { "name": "node", "version": "^24.0.0", "onFail": "error" },
"packageManager": { "name": "npm", "version": ">=11.8.0", "onFail": "error" }
}
}npm ci takes care of reproducible dependencies. The command requires an existing lock file and exits with an error when package-lock.json and package.json do not match, instead of quietly updating the lock file (npm documentation). Together with a pinned Node version this gives a build that behaves the same everywhere. Where Shopware CLI runs the build, the version belongs in the image it runs in.
Testing the switch
Changing the Node version is an update like any other and therefore goes through staging. Administration and Storefront are rebuilt completely, with all extensions and from the same commit as the live shop. That way the Node version remains the only change. What a reliable test environment looks like is described in the article on staging environments for safe updates.
- Compare the build logs of the old and new version: new engines warnings, outdated dependencies, failed install scripts.
- Compare the generated files: are the expected bundles there for every extension, and are they not empty?
- Test the Administration: login, product editing, order overview and every module an extension adds.
- Test the Storefront: cart, checkout, search, variants and all JavaScript features from extensions, on a smartphone as well.
- Define the way back: the last deployed artifact is kept until the new build has run for a week without findings.
For deployments Shopware recommends keeping rollbacks minimal, database-aware and version-pinned, and rehearsing them regularly (Shopware documentation). For a pure Node version change this is simple, because the database does not change. The old artifact can go back without rolling back migrations. All that matters is that the artifact still exists and has not been overwritten by the next build.
Checking dependencies
With a new Node version, the packages npm resolves change too. Some build tools require newer Node versions, others drop old lines. Projects that have grown over the years often contain their own package.json files in custom plugins and themes, each with its own lock file. Every one of them belongs in the review.
In practice that means regenerating lock files with the new version, reading the changes in the diff, running npm audit and clarifying conspicuous jumps before the merge. New major versions of build tools belong in a separate change, not in the same step as the Node switch. How to make lock files binding and limit install scripts in the build is covered in the article on supply chain attacks on shop dependencies.
For Store extensions the lever is asking: which Node version does the vendor build with, and when will they switch? Plugins with admin components need separate versions for 6.6 and 6.7 anyway (Shopware Update Guide 6.7). A vendor maintaining both branches may well be maintaining two build chains. The answer goes into the inventory, right next to the extension's version number.
A date in the maintenance calendar
With Node.js, end-of-life comes with notice. The release schedule names end dates years ahead, and the date on which a line changes status is set no later than the first day of the month in question (Node.js Release Working Group). What is usually missing is the entry in your own calendar, alongside PHP, database and operating system. How to plan PHP deadlines is described in the article on PHP EOL management.
- Now: move builds still running on Node.js 20 to Node.js 24. The 20 line has been unsupported since 2026-04-30 (Node.js Release Working Group).
- By the end of March 2027: move builds running on Node.js 22 to Node.js 24, so that there is buffer for questions and tests before 2027-04-30 (Node.js Release Working Group).
- From fall 2027: check whether Shopware has added Node.js 26 to its statements. Node.js 24 leaves support on 2028-04-30 (Node.js Release Working Group).
- Every October: from Node.js 27 on, a new line enters long-term support each year (Node.js Release Working Group). The date works well as a fixed checkpoint in the maintenance contract.
Such a calendar has a side effect that counts in audits. According to Node.js, many industry audits forbid unmaintained runtimes (Node.js). If you can show that build runtime, PHP and database are within support and when the next switch is due, you answer that question with a document instead of a search. Who has access to the build server and the pipeline in an emergency belongs in the same document, much like the emergency access to the shop.
What maintenance takes care of
The Node version is a small component, but one that rarely draws attention as long as the build passes. In our Shopware maintenance we keep an inventory of plugins and custom changes for every shop we look after; the build's Node version goes in there as an entry of its own, next to PHP and database. Where the hosting provider looks after the server and we look after the shop, we spell out who is responsible for the build environment, as described in the article hosting provider or maintenance.
Map build chains
Measure Node and npm versions on build server, pipeline, agency machines and extensions and document them with a date.
Switch on staging
Build Administration and Storefront with the new version, test critical paths, keep the way back via the last artifact ready.
Deadlines in the calendar
Track end dates of Node lines next to PHP and database and plan the next switch in good time.
How fast we respond and what the report contains is set out in the SLA maintenance contract. We roll out security updates for Shopware and extensions through our security updates process. We handle the build chain switch as part of ongoing maintenance or as a one-off job. An overview of all components is on the services page, and an assessment of your build chain is available via the contact page.
Sources
engine-strict refuses installs on an unsupported Node version, and devEngines with onFail set to error stops custom plugins on the wrong runtime (npm documentation).Related Articles
Debug Mode in Production: Checking Profiler and Error Pages
After a hotfix, debug mode often stays on. What strangers see on error pages and in the profiler, and how to check Shopware and WordPress after each change.
Composer blocks the update: resolving the security block
Composer blocks the update over a security advisory? How to read the message, find the dependency path, move to the patched version and set dated exceptions.
Abandoned plugins: spotting extensions that stopped updating
How to spot abandoned plugins and extensions in your shop, why a maintenance status belongs in the inventory and when to replace, take over or remove them.