Describe the problem/error/question
I tried to install n8n but I get the same error message at each try.
What is the error message (if any)?
$ npx n8n
/home/admin/.npm/_npx/a8a7eec953f1f314/node_modules/n8n/bin/n8n:56
require('net').setDefaultAutoSelectFamily?.(false);
^
SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
$ n8n
/usr/local/lib/node_modules/n8n/bin/n8n:56
require('net').setDefaultAutoSelectFamily?.(false);
^
SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
Information on your n8n setup
- n8n version: [email protected]
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): ?
- Running n8n via (Docker, npm, n8n cloud, desktop app): npm
- Operating system:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
$ npm --version
8.5.1
I’m listening to give more information it’s needed.
Thanks for your support,
David #firstTimeN8n