How not to install the ai-assistant-sdk

Ahoy everyone

I’m trying to install the latest n8n on the latest Linux Mint (v22 Wilma).

I’ve installed:

node -v #18.19.1
npm -v #9.2.0

When I try to install n8n

npm install -g n8n

I get an error

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@n8n_io/[email protected]',
npm WARN EBADENGINE   required: { node: '>=20.15', pnpm: '>=8.14' },
npm WARN EBADENGINE   current: { node: 'v18.19.1', npm: '9.2.0' }
npm WARN EBADENGINE }

I’m not all that keen to upgrade node.js from a repo other than the Linux Mint repo, since I use node for many other aspects and do not want to fiddle with it.

So how can I disable the installation of specific packages such as ai-assistant during installation?

Thanks so much.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @EugeneP,

If you don’t want to update Node or use NVM to manage the Node version the best option would be to use Docker to run n8n which will solve the problem. We don’t have a way to exclude parts of n8n when installing, I suspect as Node 20 is an LTS Mint and other Debian based distros will soon update to this.

1 Like

Thanks so much @Jon
Much appreciated

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.