saberone / pimatic-smartmeter

Read energy usage data from a "smartmeter" through it's P1 port
MIT License
0 stars 6 forks source link

auto-update sqlite3 want higher peerDependencies #19

Open Galan79 opened 7 years ago

Galan79 commented 7 years ago

I update Pimatic with the GUI and run up multiples errors. One was that the peerDependencies in package.json was to low. I updated it to below and reinstall the plugging. Only then it was working. it seems that the plugin don't like pimatic 0.9...

"peerDependencies": { "pimatic": ">=0.8.0 <1.0.0"

I remove sqlite3 with sudo rm -rf /home/pi/pimatic-app/node_modules/sqlite3 and then installed manualy in sudo su with sudo npm install sqlite3.

It was nevewracking but when it was a succes it feels like a triompf! :)

If you nead more logging let me know.