Hello, i have on error when im installing n8n on ubuntu server and n8n dont install globally:
What is the error message (if any)?
Please share the workflow
npm ERR! code 127
npm ERR! path /root/.nvm/versions/node/v16.19.0/lib/node_modules/n8n/node_modules/ssh2
npm ERR! command failed
npm ERR! command sh -c -- node install.js
npm ERR! sh: 1: node: Permission denied
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-12-28T15_10_47_732Z-debug-0.log
(Select the nodes and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow respectively)
Share the output returned by the last node
Information on your n8n setup
n8n version: 0.209.3
Database you’re using (default: SQLite): mysql
Running n8n with the execution process [own(default), main]: default
Running n8n via [Docker, npm, n8n.cloud, desktop app]: npm
Welcome to the community @fagnersantos !
Sorry to hear that you have problems.
Sadly do not know what exactly is going on but because of the mention of
Permission denied my first guess would be that it is related to the user and that he does not have all the required permissions.
i am trying to install n8n using npm but it ends with this error and does not install.
I already set the permissions but nothing happens.
I will try to install using docker.
Docker is for sure always preferred. Makes many things easier (esp. up-and downgrading) and also has a lower chance of things going wrong.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.