Broken installation after n8n upgrade attempt (NPM), Node.js, M1 Mac 15.4.1

Describe the problem/error/question

On a local installation on Mac with NPM, I’m stuck with the node.js dependencies.
The previous time, I have been able to revert to an older version of node.js via NVM.

This time around I am getting blockers and my install won’t update no matter what I try.

Went all the way up to current node v 23 version, no luck.
Back to node v 20 via NVM, no luck.
Back to v18 via NVM, no luck.

When I try to start via n8n start, I get a very old version back and crashing on start. Looks like I am just stuck with a broken install now, please help!

% n8n start

Initializing n8n process

Last session crashed

n8n ready on 0.0.0.0, port 5678

Version: 0.204.0

› Error: There was an error: SQLITE_ERROR: no such column: WorkflowEntity__shared.roleId

What is the error message (if any)?

npm install -g n8n@1.90.2

npm warn EBADENGINE Unsupported engine {

npm warn EBADENGINE package: ‘@n8n_io/ai-assistant-sdk@1.13.0’,

npm warn EBADENGINE required: { node: ‘>=20.15’, pnpm: ‘>=8.14’ },

npm warn EBADENGINE current: { node: ‘v18.20.8’, npm: ‘10.8.2’ }

npm warn EBADENGINE }

npm warn EBADENGINE Unsupported engine {

npm warn EBADENGINE package: ‘express-handlebars@8.0.1’,

npm warn EBADENGINE required: { node: ‘>=20’ },

npm warn EBADENGINE current: { node: ‘v18.20.8’, npm: ‘10.8.2’ }

npm warn EBADENGINE }

npm warn EBADENGINE Unsupported engine {

npm warn EBADENGINE package: ‘undici@7.8.0’,

npm warn EBADENGINE required: { node: ‘>=20.18.1’ },

npm warn EBADENGINE current: { node: ‘v18.20.8’, npm: ‘10.8.2’ }

npm warn EBADENGINE }

npm warn EBADENGINE Unsupported engine {

npm warn EBADENGINE package: ‘glob@11.0.2’,

npm warn EBADENGINE required: { node: ‘20 || >=22’ },

npm warn EBADENGINE current: { node: ‘v18.20.8’, npm: ‘10.8.2’ }

npm warn EBADENGINE }

npm warn EBADENGINE Unsupported engine {

npm warn EBADENGINE package: ‘@n8n/tournament@1.0.6’,

npm warn EBADENGINE required: { node: ‘>=20.15’, pnpm: ‘>=9.5’ },

npm warn EBADENGINE current: { node: ‘v18.20.8’, npm: ‘10.8.2’ }

npm warn EBADENGINE }

npm warn EBADENGINE Unsupported engine {

npm warn EBADENGINE package: ‘jackspeak@4.1.0’,

npm warn EBADENGINE required: { node: ‘20 || >=22’ },

npm warn EBADENGINE current: { node: ‘v18.20.8’, npm: ‘10.8.2’ }

npm warn EBADENGINE }

npm warn EBADENGINE Unsupported engine {

npm warn EBADENGINE package: ‘minimatch@10.0.1’,

npm warn EBADENGINE required: { node: ‘20 || >=22’ },

npm warn EBADENGINE current: { node: ‘v18.20.8’, npm: ‘10.8.2’ }

npm warn EBADENGINE }

npm warn EBADENGINE Unsupported engine {

npm warn EBADENGINE package: ‘path-scurry@2.0.0’,

npm warn EBADENGINE required: { node: ‘20 || >=22’ },

npm warn EBADENGINE current: { node: ‘v18.20.8’, npm: ‘10.8.2’ }

npm warn EBADENGINE }

npm warn EBADENGINE Unsupported engine {

npm warn EBADENGINE package: ‘lru-cache@11.1.0’,

npm warn EBADENGINE required: { node: ‘20 || >=22’ },

npm warn EBADENGINE current: { node: ‘v18.20.8’, npm: ‘10.8.2’ }

npm warn EBADENGINE }

npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs

npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

npm warn deprecated lodash.get@4.4.2: This package is deprecated. Use the optional chaining (?.) operator instead.

npm warn deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported

npm warn deprecated npmlog@6.0.2: This package is no longer supported.

npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported

npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.

npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

npm warn deprecated @aws-sdk/signature-v4@3.374.0: This package has moved to @smithy/signature-v4

npm warn deprecated @aws-sdk/protocol-http@3.374.0: This package has moved to @smithy/protocol-http

npm warn deprecated @aws-sdk/node-http-handler@3.374.0: This package has moved to @smithy/node-http-handler

npm warn deprecated google-p12-pem@4.0.1: Package is no longer maintained

npm warn deprecated gauge@4.0.4: This package is no longer supported.

npm warn deprecated dommatrix@1.0.3: dommatrix is no longer maintained. Please use @thednp/dommatrix.

npm warn deprecated gm@1.25.1: The gm module has been sunset. Please migrate to an alternative. GitHub - aheckmann/gm: GraphicsMagick for node · GitHub

npm warn deprecated node-domexception@1.0.0: Use your platform’s native DOMException instead

npm warn deprecated infisical-node@1.3.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

npm warn deprecated @azure/core-http@3.0.5: This package is no longer supported. Please refer to azure-sdk-for-js/sdk/core/README.md at 490ce4dfc5b98ba290dee3b33a6d0876c5f138e2 · Azure/azure-sdk-for-js · GitHub

Information on your n8n setup

  • n8n version: Used to be around 1.65.x
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Not applicable
  • Running n8n via (Docker, npm, n8n cloud, desktop app): NPM
  • Operating system: Mac OS, Apple Silicon, M1, Sequoia 15.4.1

This was my old post years ago. http://community.n8n.io/t/n8n-latest-unable-to-install-on-mac-node-js-too-recent