Problem installing custom nodes

I am on version 1.97.1, self hosted using Coolify on a VPS. While trying to install any custom node, I am getting this error:

2025-06-17T03:18:20.534285902Z Error loading package "@tavily/n8n-nodes-tavily" :Cannot set properties of undefined (setting '@tavily/n8n-nodes-tavily')
2025-06-17T03:18:20.534449656Z ResponseError: Error loading package "@tavily/n8n-nodes-tavily" :Cannot set properties of undefined (setting '@tavily/n8n-nodes-tavily')
2025-06-17T03:18:20.534493119Z     at CommunityPackagesController.installPackage (/usr/local/lib/node_modules/n8n/src/controllers/community-packages.controller.ts:127:10)
2025-06-17T03:18:20.534513826Z     at handler (/usr/local/lib/node_modules/n8n/src/controller.registry.ts:74:12)
2025-06-17T03:18:20.534528123Z     at /usr/local/lib/node_modules/n8n/src/response-helper.ts:157:17

The same is happening to me when installing the KommoCRM node :melting_face:

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