Read the statement by Michael Teeuw here.
Black screen after update 2.11 (electron)
-
@Blackmirror said in Black screen after update 2.11 (electron):
MMM-Buttons
it should, there is a package.json file present…
please show me upgrade.log
~/MagicMirror/installers/upgrade.log
-
Yes it have it.
I can not open the log file.
No authorization. -
@Blackmirror eh? was created in user name running the script
please do
ls -laF ~/MagicMirror/installers
show results
-
Okay works if it run in single steps
Upgrade started - Sa Apr 4 17:52:55 CEST 2020 system is Linux Mirror 4.9.22-v7+ #987 SMP Fri Apr 14 23:23:05 BST 2017 armv7l GNU/L$ the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 8.0 (jessie) Rele$ user requested to force apply changes doing test run = false saving custom.css remote name = origin upgrading from version 2.11.0 to 2.11.0 fetching latest revisions git fetch rc=0 current branch = master On branch master Your branch is up-to-date with 'origin/master'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: package.json Untracked files: (use "git add <file>..." to include in what will be committed) core css/save_custom.css modules/default/compliments/compliments.json
-
@Blackmirror there should be more
-
Untracked files: (use "git add <file>..." to include in what will be committed) core css/save_custom.css modules/default/compliments/compliments.json no changes added to commit (use "git add" and/or "git commit -a") there are 1 local files that are different than the master repo package.json save/restore files selection = y Saved working directory and index state WIP on master: 447c0bf Merge pull request #1968 from MichMich/develop HEAD ist jetzt bei 447c0bf Merge pull request #1968 from MichMich/develop test merge result rc='' , if empty, no conflicts executing merge, apply specified merge result rc= 0 Already up-to-date. processor architecture is armv7l updating MagicMirror runtime, please wait > magicmirror@2.11.0 install /home/pi/MagicMirror > echo "Installing vendor files ... " && cd vendor && npm install --loglevel=error Installing vendor files ... > magicmirror@2.11.0 postinstall /home/pi/MagicMirror > npm run install-fonts && echo "MagicMirror installation finished successfully! " > magicmirror@2.11.0 install-fonts /home/pi/MagicMirror > echo "Installing fonts ... " && cd fonts && npm install --loglevel=error Installing fonts ... MagicMirror installation finished successfully! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN ws@7.2.3 requires a peer of bufferutil@^4.0.1 but none was installed. npm WARN ws@7.2.3 requires a peer of utf-8-validate@^5.0.2 but none was installed. npm install completed - Sa Apr 4 17:54:21 CEST 2020 on base downloading dumpactivemodules script processing dependency changes for active modules with package.json files processing for module MMM-Carousel please wait ---------------------------------- processing complete for module MMM-Carousel processing for module MMM-Podcast please wait ---------------------------------- > Magic-Mirror-Module-Podcast@1.0.1 postinstall /home/pi/MagicMirror/modules/MMM-Podcast > electron-rebuild -e ../../node_modules/electron - Searching dependency tree ✔ Rebuild Complete processing complete for module MMM-Podcast processing for module MMM-DWD-WarnWeather please wait ---------------------------------- processing complete for module MMM-DWD-WarnWeather processing for module MMM-Todoist please wait ---------------------------------- processing complete for module MMM-Todoist processing for module MMM-FRITZ-Box-Callmonitor please wait ---------------------------------- processing complete for module MMM-FRITZ-Box-Callmonitor processing for module MMM-RadioDe please wait ---------------------------------- processing complete for module MMM-RadioDe processing for module MMM-Fuel please wait ---------------------------------- npm WARN eslint-config-airbnb-base@11.1.3 requires a peer of eslint@^3.19.0 but none was installed. npm WARN eslint-plugin-import@2.2.0 requires a peer of eslint@2.x - 3.x but none was installed. processing complete for module MMM-Fuel restoring custom.css removing git alias we stashed a set of files that appear changed from the latest repo versions. you should review them Upgrade ended - Sa Apr 4 17:55:24 CEST 2020 Upgrade started - Sa Apr 4 17:57:51 CEST 2020 system is Linux Mirror 4.9.22-v7+ #987 SMP Fri Apr 14 23:23:05 BST 2017 armv7l GNU/Linux the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 8.0 (jessie) Release: 8.0 Codename: jessie user requested to force apply changes doing test run = false saving custom.css remote name = origin upgrading from version 2.11.0 to 2.11.0 fetching latest revisions git fetch rc=0 current branch = master On branch master Your branch is up-to-date with 'origin/master'. Untracked files: (use "git add <file>..." to include in what will be committed) core css/save_custom.css installers/stashed_files modules/default/compliments/compliments.json nothing added to commit but untracked files present (use "git add" to track) no files different from github version test merge result rc='' , if empty, no conflicts executing merge, apply specified merge result rc= 0 Already up-to-date. processor architecture is armv7l updating MagicMirror runtime, please wait > magicmirror@2.11.0 install /home/pi/MagicMirror > echo "Installing vendor files ... " && cd vendor && npm install --loglevel=error Installing vendor files ... > magicmirror@2.11.0 postinstall /home/pi/MagicMirror > npm run install-fonts && echo "MagicMirror installation finished successfully! " > magicmirror@2.11.0 install-fonts /home/pi/MagicMirror > echo "Installing fonts ... " && cd fonts && npm install --loglevel=error Installing fonts ... MagicMirror installation finished successfully! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.1 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN ws@7.2.3 requires a peer of bufferutil@^4.0.1 but none was installed. npm WARN ws@7.2.3 requires a peer of utf-8-validate@^5.0.2 but none was installed. npm install completed - Sa Apr 4 17:58:55 CEST 2020 on base downloading dumpactivemodules script no modules found needing npm refresh restoring custom.css removing git alias Upgrade ended - Sa Apr 4 17:58:55 CEST 2020
-
@Blackmirror can u show me the config.js section for MMM-Button?
my code (dumpActiveModules.js) lists out the modules that are enabled…
-
{ module: 'MMM-Buttons', // classes: 'default everyone', config: { minShortPressTime: 20, bounceTimeout: 10, buttons: [ { pin: 10, name: "Radio", longPress: { notification: "CURRENT_PROFILE", payload: "default"}, shortPress: { notification: "CURRENT_PROFILE", payload: "Radio"}}, { pin: 11, name: "Tagesschau", longPress: { notification: "BUTTON_PRESSED", payload: true }, shortPress: { notification: "BUTTON_PRESSED", payload: true } } ] }},
But I think it have not update the MMM-Buttons because it was out comment.
I have your script restarted at now it comes the same error codes as I start npm install in the MMM-Buttons module
-
@Blackmirror said in Black screen after update 2.11 (electron):
But I think it have not update the MMM-Buttons because it was out comment.
I have your script restarted at now it comes the same error codes as I start npm install in the MMM-Buttons moduleok, that explains it.
lets try this
cd ~/MagicMirror/modules mv MMM-Buttons MMM-Buttons.save git clone https://github.com/Jopyth/MMM-Buttons.git cd MMM-Buttons npm install
it worked ok on my system
-
@sdetweil said in Black screen after update 2.11 (electron):
mv MMM-Buttons MMM-Buttons.save
git clone https://github.com/Jopyth/MMM-Buttons.git
cd MMM-Buttons
npm installYes Thanks. It’s works.