Can't get SQLite to install

I have tried several options that were posted here & I cannot get the node to install.
Log is below.
2021-04-22T02:05:02.537Z Install : node-red-node-sqlite 0.6.0

2021-04-22T02:05:02.599Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-node-sqlite@0.6.0
2021-04-22T02:05:09.923Z [err] npm
2021-04-22T02:05:09.924Z [err] ERR! Unexpected end of JSON input while parsing near '...egistry.npmjs.org/sql'
2021-04-22T02:05:09.948Z [err]
2021-04-22T02:05:09.949Z [err] npm ERR! A complete log of this run can be found in:
2021-04-22T02:05:09.949Z [err] npm ERR! /home/pi/.npm/_logs/2021-04-22T02_05_09_928Z-debug.log
2021-04-22T02:05:09.967Z rc=1

Have you installed sqlite3 yet? From the cli try
sudo apt install sqlite3
And then try installing the node

You npm cache may be corrupted. Go to your .node-red folder and run
npm cache clean --force

and then try the install again.

This was the solution!! Thanks for the help guys!!

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