# Unable to install sqlite node

**URL:** <https://discourse.nodered.org/t/unable-to-install-sqlite-node/49440>\
**Category:** General\
**Created:** [6 August 2021 22:35 UTC](https://discourse.nodered.org/t/unable-to-install-sqlite-node/49440 "2021-08-06T22:35:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MJS](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@MJS](https://discourse.nodered.org/u/MJS)\
**Post date:** [6 August 2021 22:35 UTC](https://discourse.nodered.org/t/unable-to-install-sqlite-node/49440/1 "2021-08-06T22:35:03Z")

</div>

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

```auto
-----------------------------------------------------------
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

```

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [6 August 2021 23:04 UTC](https://discourse.nodered.org/t/unable-to-install-sqlite-node/49440/2 "2021-08-06T23:04:52Z")

</div>

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

Wa\hat device is running NR?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [5 October 2021 23:05 UTC](https://discourse.nodered.org/t/unable-to-install-sqlite-node/49440/3 "2021-10-05T23:05:47Z")

</div>

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