ENOTEMPTY when installing node from palette since nodered 3.0 (directory not empty)

I did rename the folder ".agent-base-MyGAUl8n" to ".agent-base-MyGAUl8n-OLD" but this didn't resolve anything.
Getting multiple errors trying to update, delete or install any nodes. After restarting everything I tried to install bigtimer and got the error below.

2022-08-10T17:03:05.735Z Install : node-red-contrib-bigtimer 2.8.2

2022-08-10T17:03:04.847Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-bigtimer@2.8.2

2022-08-10T17:03:06.763Z [err] npm

2022-08-10T17:03:06.764Z [err]

2022-08-10T17:03:06.765Z [err] WARN

2022-08-10T17:03:06.765Z [err]

2022-08-10T17:03:06.765Z [err] config

2022-08-10T17:03:06.765Z [err] production Use --omit=dev instead.

2022-08-10T17:03:15.824Z [err] npm

2022-08-10T17:03:15.824Z [err] ERR! code ENOTEMPTY

2022-08-10T17:03:15.824Z [err] npm

2022-08-10T17:03:15.824Z [err] ERR!

2022-08-10T17:03:15.824Z [err] syscall

2022-08-10T17:03:15.825Z [err] rename

2022-08-10T17:03:15.825Z [err] npm

2022-08-10T17:03:15.825Z [err] ERR!

2022-08-10T17:03:15.825Z [err]

2022-08-10T17:03:15.825Z [err] path /config/node-red/node_modules/are-we-there-yet

2022-08-10T17:03:15.825Z [err] npm

2022-08-10T17:03:15.825Z [err] ERR! dest /config/node-red/node_modules/.are-we-there-yet-RUmkGoiI

2022-08-10T17:03:15.825Z [err] npm ERR!

2022-08-10T17:03:15.825Z [err] errno -39

2022-08-10T17:03:15.829Z [err] npm ERR! ENOTEMPTY: directory not empty, rename '/config/node-red/node_modules/are-we-there-yet' -> '/config/node-red/node_modules/.are-we-there-yet-RUmkGoiI'

2022-08-10T17:03:15.832Z [err]

2022-08-10T17:03:15.833Z [err] npm ERR!

2022-08-10T17:03:15.833Z [err] A complete log of this run can be found in:

2022-08-10T17:03:15.833Z [err] npm ERR!

2022-08-10T17:03:15.833Z [err] /root/.npm/_logs/2022-08-10T17_03_06_652Z-debug-0.log

2022-08-10T17:03:15.869Z rc=217