Read the statement by Michael Teeuw here.
[Electron] : black screen
-
@sdetweil said in [Electron] : black screen:
node_modules/,bin/electron-rebuild
I’m very sorry but i don’t anderstand what I must write if the problem is about MMM-soccer…
-
@sdetweil said in [Electron] : black screen:
cd modules/MMM-Soccer ../../node_modules/.bin/electron-rebuild
get into the MMM-Soccer folder
then
execute the electron-rebuild from back up the tree towards the MagicMirror base folderyou can do that without moving, same as one windows
-
i wrote this :
pi@raspberrypi:~/MagicMirror/modules/MMM-soccer $ cd ~/MagicMirror pi@raspberrypi:~/MagicMirror $ npm install electron-rebuild npm ERR! code EISGIT npm ERR! path /home/pi/MagicMirror/node_modules/ical npm ERR! git /home/pi/MagicMirror/node_modules/ical: Appears to be a git repo or submodule. npm ERR! git /home/pi/MagicMirror/node_modules/ical npm ERR! git Refusing to remove it. Update manually, npm ERR! git or move it out of the way first. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-10-15T22_25_39_745Z-debug.log``` and after ?
-
@RIKKO14 i know, you are in the wrong place… I gave u the exact commands to enter
-
I still do not understand…
pi@raspberrypi:~/MagicMirror $ cd ~/MagicMirror/modules/MMM-soccer/node_modules/,bin/electron-rebuild bash: cd: /home/pi/MagicMirror/modules/MMM-soccer/node_modules/,bin/electron-rebuild: Aucun fichier ou dossier de ce type
-
@RIKKO14 said in [Electron] : black screen:
pi@raspberrypi:~/MagicMirror
you are here
~/MagicMirror
do these commands
cd modules/MMM-Soccer ../../node_modules/.bin/electron-rebuild
-
@sdetweil said in [Electron] : black screen:
cd modules/MMM-Soccer
sorry but :
pi@raspberrypi:~ $ cd ~/MagicMirror pi@raspberrypi:~/MagicMirror $ cd modules/MMM-Soccer bash: cd: modules/MMM-Soccer: Aucun fichier ou dossier de ce type pi@raspberrypi:~/MagicMirror $
so when I wrote
cd modules/MMM-Soccer
aftercd~ /MagicMirror
it’s a “bash” return… -
I removed MMM-soccer but I have the same problem with Electron
-
with pm2 logs --lines=100
the problem is (it’s wrote in red) :0|mm | [2020-10-16 00:36:17.353] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node-ical' 0|mm | Require stack: 0|mm | - /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js 0|mm | - /home/pi/MagicMirror/modules/default/calendar/node_helper.js 0|mm | - /home/pi/MagicMirror/js/app.js 0|mm | - /home/pi/MagicMirror/js/electron.js 0|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
-
@RIKKO14 looks like u updated to the temporary 2.13, but did not run
npm install
in the MagicMirror folder