# Can't install sqlite

**URL:** <https://discourse.nodered.org/t/cant-install-sqlite/27084>\
**Category:** General\
**Created:** [22 May 2020 12:31 UTC](https://discourse.nodered.org/t/cant-install-sqlite/27084 "2020-05-22T12:31:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thewaver](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/thewaver/32/11917_2.png) [@Thewaver](https://discourse.nodered.org/u/Thewaver)\
**Post date:** [22 May 2020 12:31 UTC](https://discourse.nodered.org/t/cant-install-sqlite/27084/1 "2020-05-22T12:31:08Z")

</div>

Hi, any ideas why I can't install sqlite on my pi-zero.This is the install log:

2020-05-22T12:26:14.219Z Install : node-red-node-sqlite 0.4.3

2020-05-22T12:26:57.020Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-node-sqlite@0.4.3  
2020-05-22T12:28:07.979Z [out]  
2020-05-22T12:28:07.979Z [out] \> sqlite3@4.1.1 install /home/pi/.node-red/node\_modules/sqlite3  
2020-05-22T12:28:07.979Z [out] \> node-pre-gyp install --fallback-to-build  
2020-05-22T12:28:07.979Z [out]  
2020-05-22T12:28:14.674Z [err] node-pre-gyp  
2020-05-22T12:28:14.686Z [err]  
2020-05-22T12:28:14.696Z [err] WARN Using request for node-pre-gyp https download  
2020-05-22T12:28:16.186Z [err] node-pre-gyp WARN Tried to download(403): [https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.1.1/node-v64-linux-arm.tar.gz](https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.1.1/node-v64-linux-arm.tar.gz)  
2020-05-22T12:28:16.186Z [err] node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.1.1 and node@10.16.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)  
2020-05-22T12:28:34.426Z [out] make: Entering directory '/home/pi/.node-red/node\_modules/sqlite3/build'  
2020-05-22T12:28:34.439Z [out] ACTION deps\_sqlite3\_gyp\_action\_before\_build\_target\_unpack\_sqlite\_dep Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c  
2020-05-22T12:28:37.301Z [out] TOUCH Release/obj.target/deps/action\_before\_build.stamp  
2020-05-22T12:28:37.363Z [out] CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3300100/sqlite3.o

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [22 May 2020 13:05 UTC](https://discourse.nodered.org/t/cant-install-sqlite/27084/2 "2020-05-22T13:05:22Z")

</div>

What does it say at the end of the output? You haven't shown it all.

---

<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:** [22 May 2020 13:39 UTC](https://discourse.nodered.org/t/cant-install-sqlite/27084/3 "2020-05-22T13:39:12Z")

</div>

1. go to /home/pi/.node-red/
2. run `npm rebuild sqlite3`

---

<div class="post-metadata">

**Author:** ![Thewaver](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/thewaver/32/11917_2.png) [@Thewaver](https://discourse.nodered.org/u/Thewaver)\
**Post date:** [22 May 2020 13:43 UTC](https://discourse.nodered.org/t/cant-install-sqlite/27084/4 "2020-05-22T13:43:59Z")

</div>

Hi, thanks for your answers but somehow, sqlite is now installed. I installed sqlite3 on my pi zero, rebooted and tried again to install the sqlite node but no luck. I then replaced the sqlite node with a mysql node and continued developing my flow when I noticed that a second sqlite node I had on the same flow actually showed the sqlite node as being installed, very weird. Anyway, its now working...cheers

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [22 May 2020 15:00 UTC](https://discourse.nodered.org/t/cant-install-sqlite/27084/5 "2020-05-22T15:00:03Z")

</div>

The log you posted did not say that it had failed. You may get lots of messages when you install it, but you have to look right at the end to see whether it actually failed or not. Probably it was fine the first time. You might have to restart node-red to see it, I don't know.

---

<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:** [21 July 2020 15:00 UTC](https://discourse.nodered.org/t/cant-install-sqlite/27084/6 "2020-07-21T15:00:04Z")

</div>

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