UNSOLVED Black Screen with some modules + linux-armv Error
New install, using Sam D’s install script on buster: It runs OK with default modules as well as MMM-Worldclock [the MM displays on the local monitor, as well as from another machine using the browser]. When I enable either MMM-BackgroundSlideshow or MMM-DynamicWeather I get both a black screen on the local display as well as the web server stops as evidenced by being unable to connect in a browser from another machine. The first thing that catches my eye in the logs is an error that the linux-armv7 binaries cannot be used on the linux-armdefault platform. I am running on a Raspberry Pi 4. Any ideas of what went wrong?
/home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/index.js:3:15) 0|MagicMir | [03.01.2022 18:15.55.981] [ERROR] Whoops! There was an uncaught exception... 0|MagicMir | [03.01.2022 18:15.55.985] [ERROR] Error: 'linux-armv7' binaries cannot be used on the 'linux-armvdefault' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the 'linux-armvdefault' platform. 0|MagicMir | at Object.hasVendoredLibvips (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/libvips.js:82:13) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/constructor.js:7:22) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:988:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:829:12) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/index.js:3:15) 0|MagicMir | [03.01.2022 18:15.55.986] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMir | [03.01.2022 18:15.55.987] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: 0|MagicMir | [03.01.2022 18:15.55.860] [LOG] No helper found for module: MMM-Worldclock. 0|MagicMir | [03.01.2022 18:15.55.862] [LOG] No helper found for module: MMM-DynamicWeather. 0|MagicMir | [03.01.2022 18:15.55.960] [LOG] Loading module helpers ... 0|MagicMir | [03.01.2022 18:15.55.962] [LOG] No helper found for module: alert. 0|MagicMir | [03.01.2022 18:15.55.963] [LOG] Initializing new module helper ... 0|MagicMir | [03.01.2022 18:15.55.964] [LOG] Module helper loaded: updatenotification 0|MagicMir | [03.01.2022 18:15.55.965] [LOG] No helper found for module: clock. 0|MagicMir | [03.01.2022 18:15.55.966] [LOG] Initializing new module helper ... 0|MagicMir | [03.01.2022 18:15.55.966] [LOG] Module helper loaded: calendar 0|MagicMir | [03.01.2022 18:15.55.968] [LOG] No helper found for module: weather. 0|MagicMir | [03.01.2022 18:15.55.968] [LOG] Initializing new module helper ... 0|MagicMir | [03.01.2022 18:15.55.969] [LOG] Module helper loaded: newsfeed 0|MagicMir | [03.01.2022 18:15.55.970] [LOG] No helper found for module: MMM-Worldclock. 0|MagicMir | [03.01.2022 18:15.55.972] [LOG] No helper found for module: MMM-DynamicWeather. 0|MagicMir | [03.01.2022 18:15.57.473] [LOG] Launching application.
@johngalt said in Black Screen with some modules + linux-armv Error:
yes, this module uses a library,
which has a problem now on 32bit systems…
is reported in the module github… no fix found yet
Sam - thanks. Do you happen to know whether this is also true for MMM-DynamicWeather?
@johngalt looking at the code and package.json
@sdetweil - thanks. I may just disable the two offending modules for now, and then dig thru that post.
BKeyport Module Developer last edited by
@johngalt Disable Background slideshow, then dig through the post - dynamic weather will work after you do the steps in the post.
@ BKeyport - thanks. I’ve disabled that module and found one that works. I will work on the MMM-DynamicWeather, hopefully today. Thanks to you and Sam for the support!
BKeyport Module Developer last edited by
@johngalt What did you end up using for the background? I’m in the same boat.
@bkeyport I use MMM-ImagesPhotos, I added some stuff to retain the image aspect ratio, not cover or contain which both distort the image… then added support for color or blur fill outside the image…
loads from a folder in the module folder (altho that can be a link to wherever, I link it to my file server)
my uploadPics module will take images from your qr connected device and put them in whatever image storage location u like (it defaults to the ImagesPhotos location (‘uploads’)
I am trying MMM-SimpleBGSlideshow, but may try the one Sam is using. I do have this one up an running, but it appears to have limited functionality.