Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. Error installing community nodes on n8n

Error installing community nodes on n8n

Scheduled Pinned Locked Moved Solved N8N
26 Posts 10 Posters 4.7k Views 11 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • girishG girish

    @UweG If the modules are deployed dynamically, this won't work (yet). We are yet to figure how to handle such dynamic node module installations. I think @ajtatum had similar issues as well. Have to look into this when we find some more time.

    JOduMonTJ Offline
    JOduMonTJ Offline
    JOduMonT
    wrote on last edited by JOduMonT
    #11

    @girish said in Error installing community nodes on n8n:

    If the modules are deployed dynamically

    Let's make n8n great again 🐷

    I believe it's a relatively new function in n8n; it's under setup

    Screen Shot 2022-09-23 at 02.15.33.png

    while on the cloudron log side it's look like:

    Sep 23 02:05:19 npm command failed
    Sep 23 02:05:19 ERROR RESPONSE
    Sep 23 02:05:19 ResponseError: Error loading package "n8n-nodes-g4whatsapp":Package could not be installed - check logs for details
    Sep 23 02:05:19 at /app/code/node_modules/n8n/dist/src/api/nodes.api.js:79:15
    Sep 23 02:05:19 at runMicrotasks (<anonymous>)
    Sep 23 02:05:19 at processTicksAndRejections (node:internal/process/task_queues:96:5)
    Sep 23 02:05:19 at async /app/code/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
    Sep 23 02:05:19 httpStatusCode: 500
    Sep 23 02:05:19 }
    Sep 23 02:05:38 npm command failed
    Sep 23 02:05:38 ERROR RESPONSE
    Sep 23 02:05:38 ResponseError: Error loading package "n8n-nodes-g4whatsapp":Package could not be installed - check logs for details
    Sep 23 02:05:38 at /app/code/node_modules/n8n/dist/src/api/nodes.api.js:79:15
    Sep 23 02:05:38 at processTicksAndRejections (node:internal/process/task_queues:96:5)
    Sep 23 02:05:38 at async /app/code/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
    Sep 23 02:05:38 httpStatusCode: 500
    Sep 23 02:05:38 }
    Sep 23 02:09:43 npm command failed
    Sep 23 02:09:43 ERROR RESPONSE
    Sep 23 02:09:43 ResponseError: Error loading package "n8n-nodes-finnhub":Package could not be installed - check logs for details
    Sep 23 02:09:43 at /app/code/node_modules/n8n/dist/src/api/nodes.api.js:79:15
    Sep 23 02:09:43 at processTicksAndRejections (node:internal/process/task_queues:96:5)
    Sep 23 02:09:43 at async /app/code/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
    Sep 23 02:09:43 httpStatusCode: 500
    Sep 23 02:09:43 }
    Sep 23 02:09:59 npm command failed
    Sep 23 02:09:59 ERROR RESPONSE
    Sep 23 02:09:59 ResponseError: Error loading package "n8n-nodes-telegram-polling":Package could not be installed - check logs for details
    Sep 23 02:09:59 at /app/code/node_modules/n8n/dist/src/api/nodes.api.js:79:15
    Sep 23 02:09:59 at processTicksAndRejections (node:internal/process/task_queues:96:5)
    Sep 23 02:09:59 at async /app/code/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
    Sep 23 02:09:59 httpStatusCode: 500
    Sep 23 02:09:59 }
    
    robiR 1 Reply Last reply
    0
    • JOduMonTJ JOduMonT

      @girish said in Error installing community nodes on n8n:

      If the modules are deployed dynamically

      Let's make n8n great again 🐷

      I believe it's a relatively new function in n8n; it's under setup

      Screen Shot 2022-09-23 at 02.15.33.png

      while on the cloudron log side it's look like:

      Sep 23 02:05:19 npm command failed
      Sep 23 02:05:19 ERROR RESPONSE
      Sep 23 02:05:19 ResponseError: Error loading package "n8n-nodes-g4whatsapp":Package could not be installed - check logs for details
      Sep 23 02:05:19 at /app/code/node_modules/n8n/dist/src/api/nodes.api.js:79:15
      Sep 23 02:05:19 at runMicrotasks (<anonymous>)
      Sep 23 02:05:19 at processTicksAndRejections (node:internal/process/task_queues:96:5)
      Sep 23 02:05:19 at async /app/code/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
      Sep 23 02:05:19 httpStatusCode: 500
      Sep 23 02:05:19 }
      Sep 23 02:05:38 npm command failed
      Sep 23 02:05:38 ERROR RESPONSE
      Sep 23 02:05:38 ResponseError: Error loading package "n8n-nodes-g4whatsapp":Package could not be installed - check logs for details
      Sep 23 02:05:38 at /app/code/node_modules/n8n/dist/src/api/nodes.api.js:79:15
      Sep 23 02:05:38 at processTicksAndRejections (node:internal/process/task_queues:96:5)
      Sep 23 02:05:38 at async /app/code/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
      Sep 23 02:05:38 httpStatusCode: 500
      Sep 23 02:05:38 }
      Sep 23 02:09:43 npm command failed
      Sep 23 02:09:43 ERROR RESPONSE
      Sep 23 02:09:43 ResponseError: Error loading package "n8n-nodes-finnhub":Package could not be installed - check logs for details
      Sep 23 02:09:43 at /app/code/node_modules/n8n/dist/src/api/nodes.api.js:79:15
      Sep 23 02:09:43 at processTicksAndRejections (node:internal/process/task_queues:96:5)
      Sep 23 02:09:43 at async /app/code/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
      Sep 23 02:09:43 httpStatusCode: 500
      Sep 23 02:09:43 }
      Sep 23 02:09:59 npm command failed
      Sep 23 02:09:59 ERROR RESPONSE
      Sep 23 02:09:59 ResponseError: Error loading package "n8n-nodes-telegram-polling":Package could not be installed - check logs for details
      Sep 23 02:09:59 at /app/code/node_modules/n8n/dist/src/api/nodes.api.js:79:15
      Sep 23 02:09:59 at processTicksAndRejections (node:internal/process/task_queues:96:5)
      Sep 23 02:09:59 at async /app/code/node_modules/n8n/dist/src/ResponseHelper.js:90:26 {
      Sep 23 02:09:59 httpStatusCode: 500
      Sep 23 02:09:59 }
      
      robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #12

      @JOduMonT Seems like linking that over to /app/data should do the trick.

      See if you can do that in recovery mode.

      Conscious tech

      benborgesB 1 Reply Last reply
      0
      • robiR robi

        @JOduMonT Seems like linking that over to /app/data should do the trick.

        See if you can do that in recovery mode.

        benborgesB Offline
        benborgesB Offline
        benborges
        wrote on last edited by benborges
        #13

        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 ?

        BenB

        girishG 1 Reply Last reply
        0
        • benborgesB benborges

          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 ?

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #14

          @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.

          benborgesB 1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #15

            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.

            jdaviescoatesJ 1 Reply Last reply
            1
            • nebulonN nebulon

              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.

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #16

              @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.

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              1
              • girishG girish

                @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.

                benborgesB Offline
                benborgesB Offline
                benborges
                wrote on last edited by
                #17

                @girish I'm not sure what to say, the community nodes UI is there, live on the cloudron package, but without being able to test an install and subsequent N8N upgrade I'm not sure how I can provide more information
                fbf38c31-c971-4b70-b9ba-2756e75f6b4a-image.png

                BenB

                girishG 1 Reply Last reply
                1
                • benborgesB benborges

                  @girish I'm not sure what to say, the community nodes UI is there, live on the cloudron package, but without being able to test an install and subsequent N8N upgrade I'm not sure how I can provide more information
                  fbf38c31-c971-4b70-b9ba-2756e75f6b4a-image.png

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #18

                  @benborges yeah, I was only checking if you know how this works deployment wise. Atleast, upstream I cannot find information about this.

                  benborgesB 1 Reply Last reply
                  0
                  • girishG girish

                    @benborges yeah, I was only checking if you know how this works deployment wise. Atleast, upstream I cannot find information about this.

                    benborgesB Offline
                    benborgesB Offline
                    benborges
                    wrote on last edited by
                    #19

                    @girish i will try to check with tom on the n8n forum, thanks for looking!

                    BenB

                    K 1 Reply Last reply
                    0
                    • U UweG

                      I am trying to install the following community node on my cloudron n8n.

                      n8n-nodes-ninox

                      Unfortunately this does not work as it always terminates with an error.

                      After that I tried to install any node for n8n.

                      This did not work either.
                      Is it generally not possible to install community nodes on Cloudron-n8n?

                      dev-cbD Offline
                      dev-cbD Offline
                      dev-cb
                      wrote on last edited by dev-cb
                      #20

                      @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):

                      1. open the app terminal
                      2. go to custom extensions folder cd /app/data/custom-extensions/
                      3. install your desired community packages, e.g. npm i n8n-nodes-directus
                      4. start editing the file /app/data/env with the File Manager and add these line:
                      export N8N_CUSTOM_EXTENSIONS=/app/data/custom-extensions/
                      
                      1. Last but not least: restart the app and find the node in the Add Node panel

                      5557c428-a026-41ea-a7a2-4aa4de9e56f1-image.png

                      benborgesB 1 Reply Last reply
                      4
                      • dev-cbD dev-cb

                        @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):

                        1. open the app terminal
                        2. go to custom extensions folder cd /app/data/custom-extensions/
                        3. install your desired community packages, e.g. npm i n8n-nodes-directus
                        4. start editing the file /app/data/env with the File Manager and add these line:
                        export N8N_CUSTOM_EXTENSIONS=/app/data/custom-extensions/
                        
                        1. Last but not least: restart the app and find the node in the Add Node panel

                        5557c428-a026-41ea-a7a2-4aa4de9e56f1-image.png

                        benborgesB Offline
                        benborgesB Offline
                        benborges
                        wrote on last edited by
                        #21

                        @dev-cb Ohhh this is exciting, wondering what happens if N8N gets an upgrade that breaks a community node..what would be the upgrade path? wait for community node upgrade, then upgrade existing installed custom packages and restart N8N ?

                        BenB

                        1 Reply Last reply
                        2
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by girish
                          #22

                          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

                          1 Reply Last reply
                          5
                          • nebulonN Offline
                            nebulonN Offline
                            nebulon
                            Staff
                            wrote on last edited by
                            #23

                            To update this, we managed to support community modules now. This will be possible with the next package release, we just wait on the ajv module thread to be resolved as well.

                            benborgesB 1 Reply Last reply
                            3
                            • nebulonN nebulon marked this topic as a question on
                            • nebulonN nebulon has marked this topic as solved on
                            • Sam_ukS Sam_uk referenced this topic on
                            • nebulonN nebulon

                              To update this, we managed to support community modules now. This will be possible with the next package release, we just wait on the ajv module thread to be resolved as well.

                              benborgesB Offline
                              benborgesB Offline
                              benborges
                              wrote on last edited by
                              #24

                              @nebulon Testing it! 78f1209c-b7c6-43cd-857f-2e308aaa4996-image.png

                              This is really neat because the numbers of node/third-party connectors from the community are really interesting to use !

                              BenB

                              1 Reply Last reply
                              4
                              • benborgesB benborges

                                @girish i will try to check with tom on the n8n forum, thanks for looking!

                                K Offline
                                K Offline
                                kevin.k
                                wrote on last edited by
                                #25

                                @benborges Can't restart N8N after doing this 😬

                                benborgesB 1 Reply Last reply
                                0
                                • K kevin.k

                                  @benborges Can't restart N8N after doing this 😬

                                  benborgesB Offline
                                  benborgesB Offline
                                  benborges
                                  wrote on last edited by benborges
                                  #26

                                  @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...

                                  BenB

                                  1 Reply Last reply
                                  1
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Bookmarks
                                  • Search