Bug Description
The Node version in engines {} specifies any version greater than or equal to Node 20.15:
When n8n is deployed on a system where the version of Node used is dynamic (e.g. virtually every PaaS, managed app host, etc.), it always picks the latest stable release of Node, which as of this writing is Node 23.0.0. Later in n8n's own code, execution aborts because n8n doesn't support Node 23:
|
if ( |
|
(ENFORCE_MIN_NODE_VERSION && !gte(nodeVersion, MINIMUM_SUPPORTED_NODE_VERSION)) || |
|
![18, 20, 22].includes(major(nodeVersion)) |
|
) { |
|
console.log(` |
|
Your Node.js version ${nodeVersion} is currently not supported by n8n. |
Please update the Node engine specification to match your in-application version logic's needs.
To Reproduce
- Deploy n8n onto your favorite application host.
- Assuming a successful build, run the application, observe the output:
==> Requesting Node.js version >=20.15
==> Using Node.js version 23.0.0 via package.json
==> Running 'pnpm run start'
> n8n-monorepo@1.63.0 start:default
> cd packages/cli/bin && ./n8n
Your Node.js version 23.0.0 is currently not supported by n8n.
Please use Node.js v18.17.0 (recommended), v20, or v22 instead!
ELIFECYCLE Command failed with exit code 1.
Expected behavior
A successfully running deployment of n8n, using an appropriate version of Node, in environments where Node is dynamically installed based off package.json definition.
Operating System
Debian Bookworm 12
n8n Version
1.64.0
Node.js Version
23.0.0
Database
SQLite (default)
Execution mode
main (default)
Bug Description
The Node version in
engines {}specifies any version greater than or equal to Node 20.15:n8n/package.json
Line 6 in 321d6de
When n8n is deployed on a system where the version of Node used is dynamic (e.g. virtually every PaaS, managed app host, etc.), it always picks the latest stable release of Node, which as of this writing is Node 23.0.0. Later in n8n's own code, execution aborts because n8n doesn't support Node 23:
n8n/packages/cli/bin/n8n
Lines 27 to 32 in 321d6de
Please update the Node engine specification to match your in-application version logic's needs.
To Reproduce
Expected behavior
A successfully running deployment of n8n, using an appropriate version of Node, in environments where Node is dynamically installed based off
package.jsondefinition.Operating System
Debian Bookworm 12
n8n Version
1.64.0
Node.js Version
23.0.0
Database
SQLite (default)
Execution mode
main (default)