Error installing community nodes on n8n
-
Having the same issue, I think cloudron package need to be modified to allow community nodes to be installed.
n8n-nodes-rss-feed-trigger
Oct 25 10:41:44 2022-10-25T08:41:43.938Z | warn | npm command failed "{\n errorMessage: 'Command failed: npm install n8n-nodes-rss-feed-trigger\\n' +\n 'npm ERR! code EROFS\\n' +\n 'npm ERR! syscall mkdir\\n' +\n 'npm ERR! path /home/cloudron/.npm\\n' +\n 'npm ERR! errno EROFS\\n' +\n \"npm ERR! rofs Invalid response body while trying to fetch https://registry.npmjs.org/n8n-nodes-rss-feed-trigger: EROFS: read-only file system, mkdir '/home/cloudron/.npm'\\n\" +\n 'npm ERR! rofs Often virtualized file systems, or other file systems\\n' +\n \"npm ERR! rofs that don't support symlinks, give this error.\\n\" +\n '\\n' +\n 'npm ERR! A complete log of this run can be found in:\\n',\n file: 'helpers.js',\n function: 'executeCommand'\n}" Oct 25 10:41:44 ERROR RESPONSE Oct 25 10:41:44 ResponseError: Error loading package "n8n-nodes-rss-feed-trigger":Package could not be installed - check logs for details Oct 25 10:41:44 at /app/code/node_modules/n8n/dist/src/api/nodes.api.js:79:15
The old way of packaging custom npm modules could be ditched in favor of the ability to install community nodes https://www.npmjs.com/search?ranking=popularity&q=keywords%3An8n-community-node-package
is there any plan to do so ?
-
@benborges how does this work from a deployment perspective. Let's say you deploy 5 custom node modules. What happens after an update? How is the installation of these modules tracked ?
I checked their SaaS offering and they don't allow installing community modules.
Any suggestions welcome.
-
I just tried the upstream offering and found that n8n cloud does not support community modules, not even in the latest version. I am questioning now if it makes even sense for us to bend around making that possible, which will surely result in breakage if community modules are not updated and tested against new n8n versions. If upstream can't even support this, while they have per-customer instances (probably also some kind of containerization) I don't think we can support that.
-
@nebulon said in Error installing community nodes on n8n:
If upstream can't even support this, while they have per-customer instances (probably also some kind of containerization) I don't think we can support that.
I know next to nothing about this, but perhaps it's just like hosted WordPress.com (where basically no plugin are allowed, unless you upgrade and then a few become available), and self-hosting WordPress where you can install as many plugins you like.
-
@UweG said in Error installing community nodes on n8n:
Is it generally not possible to install community nodes on Cloudron-n8n?
It is possible, I am using io.n8n.cloudronapp@2.14.0 (n8n v0.201.0):
- open the app terminal
- go to custom extensions folder
cd /app/data/custom-extensions/
- install your desired community packages, e.g.
npm i n8n-nodes-directus
- start editing the file
/app/data/env
with the File Manager and add these line:
export N8N_CUSTOM_EXTENSIONS=/app/data/custom-extensions/
- Last but not least: restart the app and find the node in the Add Node panel
-
-
OK, I found some interesting notes at https://docs.n8n.io/integrations/community-nodes/installation/ . Investigating if that works for us.
edit: https://docs.n8n.io/integrations/community-nodes/troubleshooting/ is a better link
-
-
-
-
@kevin-k Strange...can you try to revert back to a working backup, reinstall community modules again, reboot once again and go to that page see if everything stick ?
I had issues first time I installed, had to reinstall once, but then it went smooth...