# Node-red-node-sqlite install error

**URL:** <https://discourse.nodered.org/t/node-red-node-sqlite-install-error/66603>\
**Category:** General\
**Created:** [18 August 2022 11:44 UTC](https://discourse.nodered.org/t/node-red-node-sqlite-install-error/66603 "2022-08-18T11:44:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![FabioT](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@FabioT](https://discourse.nodered.org/u/FabioT)\
**Post date:** [18 August 2022 11:44 UTC](https://discourse.nodered.org/t/node-red-node-sqlite-install-error/66603/1 "2022-08-18T11:44:26Z")

</div>

Hi All,  
I'm working with node-red v 2.0.6 and node-js v12.22.5.  
I'm trying to install node-red-node-sqlite (v1.0.3) but an error occours everytime. The error is always the same, see attached log file.  
Can anyone help me to solve it?  
Thank you in advance

```auto
2022-08-18T11:42:30.771Z Install : node-red-node-sqlite 1.0.3

2022-08-18T11:42:30.985Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-sqlite@1.0.3
2022-08-18T11:42:46.506Z [err] npm
2022-08-18T11:42:46.508Z [err] WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha512-y+2HegOCbCUKvmo4khbZijNEc70lTiMeI4Q25VmG7MqBXjEJvQ7jfoJf1oLsLCJxc3qVT8KkkA+B30qrQHuKBA== integrity checksum failed when using sha512: wanted sha512-y+2HegOCbCUKvmo4khbZijNEc70lTiMeI4Q25VmG7MqBXjEJvQ7jfoJf1oLsLCJxc3qVT8KkkA+B30qrQHuKBA== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
2022-08-18T11:42:46.508Z [err] npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
2022-08-18T11:42:53.322Z [err] npm
2022-08-18T11:42:53.324Z [err] ERR! code EINTEGRITY
2022-08-18T11:42:53.324Z [err] npm ERR! errno EINTEGRITY
2022-08-18T11:42:53.376Z [err] npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/ms: sha512-y+2HegOCbCUKvmo4khbZijNEc70lTiMeI4Q25VmG7MqBXjEJvQ7jfoJf1oLsLCJxc3qVT8KkkA+B30qrQHuKBA== integrity checksum failed when using sha512: wanted sha512-y+2HegOCbCUKvmo4khbZijNEc70lTiMeI4Q25VmG7MqBXjEJvQ7jfoJf1oLsLCJxc3qVT8KkkA+B30qrQHuKBA== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
2022-08-18T11:42:53.449Z [err] 
2022-08-18T11:42:53.452Z [err] npm ERR! A complete log of this run can be found in:
2022-08-18T11:42:53.452Z [err] npm ERR! /root/.npm/_logs/2022-08-18T11_42_53_395Z-debug.log
2022-08-18T11:42:53.513Z rc=1

```

**admin edit** : deleted attachment and pasted log detail in a code block so it can be viewed more easily & searched by users facing same issue

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [18 August 2022 11:50 UTC](https://discourse.nodered.org/t/node-red-node-sqlite-install-error/66603/2 "2022-08-18T11:50:25Z")

</div>

Are you using a slow internet connection .. maybe wireless without a good signal ?

What OS are you trying to install the sqlite node on ?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [18 August 2022 11:58 UTC](https://discourse.nodered.org/t/node-red-node-sqlite-install-error/66603/3 "2022-08-18T11:58:23Z")

</div>

> [@FabioT](#):
>
> `npm ERR! errno EINTEGRITY`

> <https://stackoverflow.com/questions/47545940/when-i-run-npm-install-it-returns-with-err-code-eintegrity-npm-5-3-0>

---

<div class="post-metadata">

**Author:** ![FabioT](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@FabioT](https://discourse.nodered.org/u/FabioT)\
**Post date:** [18 August 2022 12:15 UTC](https://discourse.nodered.org/t/node-red-node-sqlite-install-error/66603/4 "2022-08-18T12:15:18Z")

</div>

Thank you very much.  
I solved using "npm cache verify"

---

<div class="post-metadata">

**Author:** ![FabioT](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@FabioT](https://discourse.nodered.org/u/FabioT)\
**Post date:** [18 August 2022 14:55 UTC](https://discourse.nodered.org/t/node-red-node-sqlite-install-error/66603/5 "2022-08-18T14:55:35Z")

</div>

Hi Steve-Mcl,  
on a different device, running node-red-node-sqlite install from NR-\>manage palette, I have the following log file.

```auto
2022-08-18T14:52:22.824Z Install : node-red-node-sqlite 1.0.3

2022-08-18T14:52:22.878Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-sqlite@1.0.3
2022-08-18T14:52:36.521Z [out] 
2022-08-18T14:52:36.521Z [out] up to date in 12s
2022-08-18T14:52:36.574Z rc=0

```

Installation process says "failed" and the palette does not appear.  
Can you help me again?  
Thank you very much.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [18 August 2022 14:57 UTC](https://discourse.nodered.org/t/node-red-node-sqlite-install-error/66603/6 "2022-08-18T14:57:38Z")

</div>

@FabioT this is a different system and different error. Please start a new thread with appropriate details (system type? PI? OS? version of node-red? Screenshots?)

---

<div class="post-metadata">

**Author:** ![FabioT](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@FabioT](https://discourse.nodered.org/u/FabioT)\
**Post date:** [18 August 2022 15:02 UTC](https://discourse.nodered.org/t/node-red-node-sqlite-install-error/66603/7 "2022-08-18T15:02:21Z")

</div>

Hi Steve-Mcl,  
this is the same device type of the previous one, with same NR and nodejs versions...because I have to build up to 5 different devices with the same configuration.  
Have I to open another thread anyway?  
Let me know.  
Thank you very much

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [18 August 2022 15:04 UTC](https://discourse.nodered.org/t/node-red-node-sqlite-install-error/66603/8 "2022-08-18T15:04:20Z")

</div>

> [@FabioT](#):
>
> this is the same device type of the previous one

but is a physical different device and a different error.

The reason for a new thread is it keeps things clean for future readers finding this thread due to the original `EINTEGRITY` issue.

---

<div class="post-metadata">

**Author:** ![FabioT](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@FabioT](https://discourse.nodered.org/u/FabioT)\
**Post date:** [18 August 2022 15:09 UTC](https://discourse.nodered.org/t/node-red-node-sqlite-install-error/66603/9 "2022-08-18T15:09:47Z")

</div>

Ok, thanks.  
Just created a new thread "Node-red-node-sqlite installation error".  
Please have a look if you can.  
Thank you very much.

---

<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:** [1 September 2022 15:10 UTC](https://discourse.nodered.org/t/node-red-node-sqlite-install-error/66603/10 "2022-09-01T15:10:12Z")

</div>

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