It doesn’t matter which node I try to either update or remove using the Manage Pallette, I get some sort of “directory not empty” error like the following:
2023-07-10T02:43:42.532Z Install : node-red-contrib-home-assistant-websocket 0.51.1
2023-07-10T02:43:42.715Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected]
2023-07-10T02:43:43.772Z [err] npm
2023-07-10T02:43:43.772Z [err]
2023-07-10T02:43:43.772Z [err] WARN
2023-07-10T02:43:43.772Z [err]
2023-07-10T02:43:43.772Z [err] config
2023-07-10T02:43:43.773Z [err] production Use `--omit=dev` instead.
2023-07-10T02:43:44.710Z [err] (node:415) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
2023-07-10T02:43:44.710Z [err] (Use `node --trace-warnings ...` to show where the warning was created)
2023-07-10T02:43:48.059Z [err] npm
2023-07-10T02:43:48.060Z [err]
2023-07-10T02:43:48.060Z [err] ERR!
2023-07-10T02:43:48.060Z [err]
2023-07-10T02:43:48.060Z [err] code
2023-07-10T02:43:48.060Z [err] ENOTEMPTY
2023-07-10T02:43:48.061Z [err] npm
2023-07-10T02:43:48.062Z [err]
2023-07-10T02:43:48.062Z [err] ERR!
2023-07-10T02:43:48.062Z [err]
2023-07-10T02:43:48.062Z [err] syscall
2023-07-10T02:43:48.062Z [err] rename
2023-07-10T02:43:48.063Z [err] npm
2023-07-10T02:43:48.063Z [err]
2023-07-10T02:43:48.063Z [err] ERR!
2023-07-10T02:43:48.063Z [err]
2023-07-10T02:43:48.063Z [err] path
2023-07-10T02:43:48.063Z [err] /config/node-red/node_modules/parse-listing
2023-07-10T02:43:48.063Z [err] npm ERR!
2023-07-10T02:43:48.064Z [err] dest /config/node-red/node_modules/.parse-listing-5SSbwu72
2023-07-10T02:43:48.064Z [err] npm ERR! errno -39
2023-07-10T02:43:48.069Z [err] npm ERR! ENOTEMPTY: directory not empty, rename '/config/node-red/node_modules/parse-listing' -> '/config/node-red/node_modules/.parse-listing-5SSbwu72'
2023-07-10T02:43:48.070Z [err]
2023-07-10T02:43:48.070Z [err] npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-07-10T02_43_43_700Z-debug-0.log
2023-07-10T02:43:48.093Z rc=217
Uninstalling NodeRed and re-installing doesn’t solve the problem. Not sure what to do.