Problem uninstalling package

Hey there!

As of today for some reason my community nodes stopped working. I also can’t uninstall them and i get this error: Problem uninstalling package

Error removing package “n8n-nodes-azure-blob-storage2”:async function setType(requestOptions) { const operation = this.getNodeParameter(‘operation’); const me… } could not be cloned.

Im self hosting n8n on azure as a container instance. Can someone help me out? I appreciate every bit of help!

hello @Julian_Ivanov

What is your n8n version?

And can you provide container logs during that moment?

Hi @barn4k,

I’m encountering the same issue when trying to install community packages, and I also ran into the same error while attempting to uninstall them.

Error Message:
"Problem uninstalling package
Error removing package ‘n8n-nodes-dataforseo’: async function setType(requestOptions) { const operation = this.getNodeParameter(‘operation’); const me… } could not be cloned."

I’m running this on a self-hosted setup on Railway, but I’m not sure where to check the logs for further details.

Current version: 1.81.4

Would appreciate any guidance on resolving this.

Thanks!

hello @barn4k

Im using the latest n8n version and these are my logs:

2025-03-05T20:26:29.5507789Z stdout F     at CommunityPackagesController.uninstallPackage (/usr/local/lib/node_modules/n8n/dist/controllers/community-packages.controller.js:153:19)
2025-03-05T20:26:29.5507805Z stdout F     at processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-03-05T20:26:29.5507818Z stdout F     at handler (/usr/local/lib/node_modules/n8n/dist/decorators/controller.registry.js:93:24)
2025-03-05T20:26:29.5507831Z stdout F     at /usr/local/lib/node_modules/n8n/dist/response-helper.js:110:26
2025-03-05T20:26:29.5507847Z stdout F 
2025-03-05T20:26:29.5508533Z stdout F async function setType(requestOptions) {
2025-03-05T20:26:29.5508560Z stdout F     const operation = this.getNodeParameter('operation');
2025-03-05T20:26:29.5508578Z stdout F     const me...<omitted>...
2025-03-05T20:26:29.5508591Z stdout F } could not be cloned.
2025-03-05T20:27:08.1012876Z stdout F Error removing package "n8n-nodes-azure-blob-storage2":async function setType(requestOptions) {
2025-03-05T20:27:08.1013348Z stdout F     const operation = this.getNodeParameter('operation');
2025-03-05T20:27:08.1013493Z stdout F     const me...<omitted>...
2025-03-05T20:27:08.1013515Z stdout F } could not be cloned.
2025-03-05T20:27:08.1013529Z stdout F ResponseError: Error removing package "n8n-nodes-azure-blob-storage2":async function setType(requestOptions) {
2025-03-05T20:27:08.1013543Z stdout F     const operation = this.getNodeParameter('operation');
2025-03-05T20:27:08.1013557Z stdout F     const me...<omitted>...
2025-03-05T20:27:08.1013570Z stdout F } could not be cloned.
2025-03-05T20:27:08.1013584Z stdout F     at CommunityPackagesController.uninstallPackage (/usr/local/lib/node_modules/n8n/dist/controllers/community-packages.controller.js:153:19)
2025-03-05T20:27:08.1013598Z stdout F     at processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-03-05T20:27:08.1013612Z stdout F     at handler (/usr/local/lib/node_modules/n8n/dist/decorators/controller.registry.js:93:24)
2025-03-05T20:27:08.1013684Z stdout F     at /usr/local/lib/node_modules/n8n/dist/response-helper.js:110:26
2025-03-05T20:27:08.1013700Z stdout F 
2025-03-05T20:27:08.1014304Z stdout F async function setType(requestOptions) {
2025-03-05T20:27:08.1014332Z stdout F     const operation = this.getNodeParameter('operation');
2025-03-05T20:27:08.1014349Z stdout F     const me...<omitted>...
2025-03-05T20:27:08.1014362Z stdout F } could not be cloned.

facing same issue

Hi @Julian_Ivanov,

You can use npm to remove the community nodes, as n8n installs them using npm. This means you can also uninstall them manually with npm.

E.g.

npm uninstall n8n-nodes-azure-blob-storage2

Let me know if it helped!

Hi, thanks for the quick reply!

Unfortunately, when I run:
npm uninstall n8n-nodes-azure-blob-storage2

inside the Azure Container console (sh), I get a permissions error (EACCES) because the default container user doesn’t have sufficient rights to modify the global packages. Additionally, there’s no root or sudo access available in the console.

Is there a workaround to remove nodes directly within the Azure n8n container?

Thanks for your help!

What about Azure CLI?
az container exec --resource-group <group-name> --name <container-group-name> --exec-command "<command>"
Execute commands in running container instance - Azure Container Instances | Microsoft Learn

Okay I managed to uninstall the packages. I realized that the community nodes are stored inside my postgresql database and there i managed to delete the community node. But when I reinstalled the community node, the exact same error appears. So this has to be some different issue here.

@Julian_Ivanov what’s your n8n version, if it’s outdated that might be cause of your issue.

You can follow these instructions to update your n8n installation.

@Knight Im already using the latest version of n8n.

I have the same issue. Today all community nodes on selfhosted n8n became broken:

I have the same problem with uninstalling and installing community nodes.

I’ve pushed a potential fix in #13832, and created a custom docker image ghcr.io/n8n-io/n8n:fix-community-nodes.
If any you can test this image and confirm that this fixes the issue, we can get the PR merged :pray:t4:

1 Like

Worked for me, thanks for the fix

New version [email protected] got released which includes the GitHub PR 13832.

1 Like