Node-red-node-sqlite install error

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

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

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

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

1 Like

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

1 Like

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

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.

@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?)

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

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.

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

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