Everytime when an update of JS Scripting is there I get this error due to the right how to solve it permanently?
sudo -u openhab mkdir -p /etc/openhab/automation/js
$ sudo -u openhab npm install --prefix /etc/openhab/automation/js openhab@latest
npm ERR! code ENOTEMPTY
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)
I use branch openhab3 and I am on latest openhabian....no Manual update or install all through the menu of openhabian and this was the debug lug for this error
Everytime when an update of JS Scripting is there I get this error due to the right how to solve it permanently?
I use branch openhab3 and I am on latest openhabian....no Manual update or install all through the menu of openhabian and this was the debug lug for this error