Community node package doesnt update

Hello,

I have created a n8n node, when i update it, it does’nt update my n8n package.

If i install my n8n package in a new n8n instance, it will work fine.

It looks like n8n doesn’t clean the cache or something.

  • n8n version:The last one
  • Database (default: SQLite):SQL
  • n8n EXECUTIONS_PROCESS setting (default: own, main):own
  • Running n8n via (Docker, npm, n8n cloud, desktop app):npm
  • Operating system:Linux

Hi @NewUser999

Can you please share which node you mean and also which version you are on?
Have you checked if it gets updated in the folder? (/home/user/.n8n/nodes)

Hello, i’m back sorry. Thank you for ur reply.

I mean this node https://www.npmjs.com/package/n8n-nodes-wedof

I’m using : 0.236.3 version and 1.44.1 version

It doesn’t work on both. I have to restart my container to update my n8n node Wedof but it’s quite boring.

This is unfortunately by design. We do support hot reload during development, but for live environments we can’t support hot reload of code that’s already loaded, because stuff like that can only work if the nodes (and their dependencies) are completely stateless (which isn’t always the case).
In the future we might consider adding checks to ensure that all nodes are completely stateless. Then we can not only more easily load newer versions of node (and their dependencies), but also be able to unload nodes from memory if they haven’t been used in a while.
Until then, every nodes package upgrade needs to followed by a restart.

I see thank you, that’s will be a major issue for my clients or even myself. They might prefer use an another no-code solution.

Hey @NewUser999,

Could you share a bit more information on why it would be a major issue? I would assume it could possibly be due to the downtime, If that is the case what sort of uptime are you and your clients looking to achieve?

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