I have just tried to update sqlite and it gives me the message below. When I restart node-red the existing sqlite nodes are shown with errors? I also cannot see the nodes in the pallete. Everything else is up to date. Hopefully someone can point me in the right direction? Thanks
Here is the output:
pi@raspberrypi5:~/.node-red/node_modules $ npm install sqlite3
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.
sqlite3@4.1.1
updated 2 packages in 17s
25 packages are looking for funding
run npm fund for details
You appear to have installed the sqlite3 module, but that may not change the version that node-red-node-sqlite uses, assuming you are using that. I suggest installing the node-red-node-sqlite again to make sure it has a compatible version.
Run the following command in your Node-RED user directory - typically ~/.node-red
npm i --unsafe-perm node-red-node-sqlite
Note : the install process requires a compile of native code. This can take 15-20 minutes on devices like a Raspberry Pi - please be prepared to wait a long time. Also if node.js is upgraded at any point you will need to rebuild the native part manually, for example.
cd ~/.node-red
npm rebuild
[EDIT] forgot to ask whether you have restarted your node-red server after the update ?
I was just going through updating nodes after updating node-red. The updates were all successful but when I restarted node-red the sqlite node in my flow was not recognised. I have just deleted the node-red-node-sqlite and sqlite3 directories from node red and am rebuilding using
npm i --unsafe-perm node-red-node-sqlite
it is taking a while I will let you know how it goes,,,
okay, so I now have version 0.43 installed and it is working. However, pallete manager is saying there is an update 0.5. I will try again from the pallete manager.