Error installing community node

Describe the problem/error/question

Error when installing “n8n-nodes-portainer” using webui

What is the error message (if any)?

Error installing new package
Error loading package “n8n-nodes-portainer” :Cannot set properties of undefined (setting ‘n8n-nodes-portainer’)

Here is n8n log (self hosted)

`2025-11-04T12:23:13.375927615Z Error loading package “n8n-nodes-portainer” :Cannot set properties of undefined (setting ‘n8n-nodes-portainer’)

2025-11-04T12:23:13.375958536Z ResponseError: Error loading package “n8n-nodes-portainer” :Cannot set properties of undefined (setting ‘n8n-nodes-portainer’)

2025-11-04T12:23:13.375970165Z at CommunityPackagesController.installPackage (/usr/local/lib/node_modules/n8n/src/modules/community-packages/community-packages.controller.ts:127:10)

2025-11-04T12:23:13.375973348Z at handler (/usr/local/lib/node_modules/n8n/src/controller.registry.ts:79:12)

2025-11-04T12:23:13.375975600Z at /usr/local/lib/node_modules/n8n/src/response-helper.ts:157:17

2025-11-04T12:23:13.375977923Z

2025-11-04T12:25:35.836392119Z TCP Proxy: Was closed, calling abort controller

2025-11-04T12:26:10.951482946Z TCP Proxy: Was closed, calling abort controller

2025-11-04T12:28:23.677684778Z Error loading package “n8n-nodes-portainer” :Cannot set properties of undefined (setting ‘n8n-nodes-portainer’)

2025-11-04T12:28:23.677710805Z ResponseError: Error loading package “n8n-nodes-portainer” :Cannot set properties of undefined (setting ‘n8n-nodes-portainer’)

2025-11-04T12:28:23.677714381Z at CommunityPackagesController.installPackage (/usr/local/lib/node_modules/n8n/src/modules/community-packages/community-packages.controller.ts:127:10)

2025-11-04T12:28:23.677724570Z at handler (/usr/local/lib/node_modules/n8n/src/controller.registry.ts:79:12)

2025-11-04T12:28:23.677727307Z at /usr/local/lib/node_modules/n8n/src/response-helper.ts:157:17

2025-11-04T12:28:23.677730887Z`

core

  • n8nVersion: 1.118.1
  • platform: docker (self-hosted)
  • nodeJsVersion: 22.21.0
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: -1
  • license: enterprise (production)
  • consumerId: 41ff6747-4a2a-49b5-9bfa-0aacfe71ca78

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: memory

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/142.0.0.0 safari/537.36
  • isTouchDevice: false

security

  • secureCookie: false

Generated at: 2025-11-04T12:34:00.307Z

This error means n8n-nodes-portainer has a structural issue in its package.json, specifically it’s missing or has a broken n8n configuration section that defines the node paths.

but when install it directly not from GUI , it gets installed and working normally!
why not from GUI

1 Like

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