Read the statement by Michael Teeuw here.
Difficulty getting MMM-Transitfeed working
-
@UncleRoger what folder are you in when you do the electron-rebuild?
-
The MMM-transitfeed module directory:
{ cd ~/MagicMirror npm install @electron/rebuild cd ~/MagicMirror/modules/MMM-transitfeed ../../node_modules/.bin/electron-rebuild cd ~/MagicMirror }
I basically copy-and-pasted that.
-
@UncleRoger and when the electron-rebuild ran it should have said
something about sqllite
and rebuild complete, like mine above -
Nothing about sqlite but it did say “Rebuild Complete”:
pi@MagicMirrorDev:~/MagicMirror $ { cd ~/MagicMirror npm install @electron/rebuild cd ~/MagicMirror/modules/MMM-transitfeed ../../node_modules/.bin/electron-rebuild cd ~/MagicMirror } added 81 packages in 11s 253 packages are looking for funding run `npm fund` for details ✔ Rebuild Complete pi@MagicMirrorDev:~/MagicMirror $
This time around, I didn’t do the sqlite update:
{ cd ~/MagicMirror rm -r node_modules/better-sqlite3/ npm install better-sqlite3 --build-from-source --runtime=electron --target=26.4.3 --dist-url=https://electronjs.org/headers --force }
But I don’t think it worked any better when I did. I’ll try that and then do the rebuild.
-
@UncleRoger don’t install sql again, else you have to rebuild again
-
Oops. I did the rebuild again. Still doesn’t say anything about the sqlite3 but it does say rebuild complete.
Thanks
-
@UncleRoger and? does it run.
-
Sadly, no. Same error.
-
Could it be hardware related? I’m not sure I have another Pi4 I can test with but I’ve got a Pi Zero 2 I could try. Would that be of any use?
-
@UncleRoger its not hardware, but another try wouldn’t hurt