The same is happening to me when installing the KommoCRM node
Error loading package "n8n-nodes-kommo" :Cannot set properties of undefined (setting 'n8n-nodes-kommo')
ResponseError: Error loading package "n8n-nodes-kommo" :Cannot set properties of undefined (setting 'n8n-nodes-kommo')
at CommunityPackagesController.installPackage (/usr/local/lib/node_modules/n8n/src/controllers/community-packages.controller.ts:127:10)
at handler (/usr/local/lib/node_modules/n8n/src/controller.registry.ts:74:12)
at /usr/local/lib/node_modules/n8n/src/response-helper.ts:157:17
Had same problem on the newest (1.101.2). While I don’t know how to solve the GUI issue, I was able to install the nodes by execing into container as described in Manual installation | n8n Docs
I reviewed the documentation shared by @skrobul, and it was really helpful because I was able to verify that the community nodes were indeed being installed (despite the error displayed in n8n).