JS Scripting Update always fails with openhabian menu

When I open the openhabian-config it wants to update or upgrade js scripting…each time.i get this error

sudo -u openhab mkdir -p /etc/openhab/automation/js
$ sudo -u openhab npm install --prefix /etc/openhab/automation/js openhab@latest
npm ERR! syscall rename
npm ERR! path /etc/openhab/automation/js/node_modules/openhab
npm ERR! dest /etc/openhab/automation/js/node_modules/.openhab-dwXzu3aM
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/etc/openhab/automation/js/node_modules/openhab' -> '/etc/openhab/automation/js/node_modules/.openhab-dwXzu3aM'
npm ERR! A complete log of this run can be found in:
npm ERR!     /var/lib/openhab/.npm/_logs/2023-06-25T20_56_46_773Z-debug-0.log
FAILED (npm install)

So I empty the folder and everything is fine but next time and update/upgrade is there the same error occurs. What do I need to change in my openhabian system.not getting always this behavior?

I do no manual installing nothing only automated via openhabian