Unable to install sqlite node

I keep getting this error when trying to install the sqlite node. I'm running node-red with Home Assistant.

-----------------------------------------------------------
2021-08-06T22:31:43.329Z Install : node-red-node-sqlite 0.6.0

2021-08-06T22:31:43.691Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-node-sqlite@0.6.0
2021-08-06T22:31:52.736Z [err] npm
2021-08-06T22:31:52.737Z [err]  ERR! code ENOTEMPTY
2021-08-06T22:31:52.737Z [err] npm ERR! syscall rename
2021-08-06T22:31:52.737Z [err] npm ERR! path /config/node-red/node_modules/zigbee-herdsman/node_modules/ansi-regex
2021-08-06T22:31:52.737Z [err] npm 
2021-08-06T22:31:52.738Z [err] ERR! dest /config/node-red/node_modules/zigbee-herdsman/node_modules/.ansi-regex-tqk0FjqF
2021-08-06T22:31:52.738Z [err] npm
2021-08-06T22:31:52.738Z [err]  ERR! errno -39
2021-08-06T22:31:52.744Z [err] npm ERR!
2021-08-06T22:31:52.745Z [err]  ENOTEMPTY: directory not empty, rename '/config/node-red/node_modules/zigbee-herdsman/node_modules/ansi-regex' -> '/config/node-red/node_modules/zigbee-herdsman/node_modules/.ansi-regex-tqk0FjqF'
2021-08-06T22:31:52.769Z [err] 
2021-08-06T22:31:52.770Z [err] npm ERR! A complete log of this run can be found in:
2021-08-06T22:31:52.770Z [err] npm ERR!     /root/.npm/_logs/2021-08-06T22_31_52_749Z-debug.log
2021-08-06T22:31:52.807Z rc=217

Do you have sqlite installed on the device you are running NR on?

Wa\hat device is running NR?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.