Getting the following log when trying to update any node within the palette manger..
First thoughts are a permissions error, but I'm able to make changes to flows and they save properly in the flows.json file.
Any ideas I can try to resolve?
NodeRed 4.0.9 is running in a docker container on a Raspberry Pi4 8gb.
2025-05-04T09:46:44.091Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict node-red-contrib-bigtimer@2.8.6
2025-05-04T09:46:51.340Z [err] npm error code ENOTEMPTY
2025-05-04T09:46:51.341Z [err] npm error syscall rename
2025-05-04T09:46:51.341Z [err] npm error path /data/node_modules/engine.io
2025-05-04T09:46:51.341Z [err] npm error dest /data/node_modules/.engine.io-A0yD1XTu
2025-05-04T09:46:51.342Z [err] npm error errno -39
2025-05-04T09:46:51.342Z [err] npm error ENOTEMPTY: directory not empty, rename '/data/node_modules/engine.io' -> '/data/node_modules/.engine.io-A0yD1XTu'
2025-05-04T09:46:51.349Z [err] npm error A complete log of this run can be found in: /data/.npm/_logs/2025-05-04T09_46_44_423Z-debug-0.log
2025-05-04T09:46:51.365Z rc=217```
This is (was) very common issue with many many threads on this forum alone.
I forget now why it happens (probably a bad NPM version or interrupted installation) but the fix is simple. Delete /data/node_modules/.engine.io-A0yD1XTu
PS, what version of node -v and npm -v are you rocking?
Hi Steve, thanks for your response.
I'm struggling to find .engine.io-A0yD1XTu or any file with A0yD1XTu in it's title.
Am I being dumb, or missing something obvious?
Looking, but can't find this in the list.
No files start with a . and no folders starting with engine...
I'm sure I'm doing something wrong, but at a loss...
Thanks
Ohh dear.
I did the above.
Then tried to update the node and now getting the same error, but different code: npm error dest /data/node_modules/.engine.io-parser-FXeX7bsL
The FXeX7bsL is new... lol