MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Richard238
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    R
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 35
    • Posts 237
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      config.js, minus private data.

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       */
      
      var config = {
      	port: 8080,
      	address:"0.0.0.0",
      	ipWhitelist: [],
      	//ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.1/120",],
      
      	language: 'en',
      	timeFormat: 24,
      	units: 'metric',
      
      	modules: [
      		{
      			module: 'alert',
      		},
      		
      		
      		
      	
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: 'clock',
      			position: 'top_left'
      		},
      		{
      			module: 'calendar',
      			header: 'Calendar',
      			position: 'top_left',
      			config: {
                          maximumEntries: 6, // Total Maximum Entries
                          maximumNumberOfDays: 365,
                          displaySymbol: true,
                          defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/
                          displayRepeatingCountTitle: false,
                          defaultRepeatingCountTitle: "",
                          maxTitleLength: 30,
                          fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
                          animationSpeed: 2000,
                          fade: true,
                          showEnd: false,
                          urgency: 0,
                          timeFormat: "absolute",
                          dateFormat: "ddd Do MMMM",
                          getRelative: 0,
                          fadePoint: 0.50, // Start on 1/4th of the list.
                          hidePrivate: false,
                          calendars: [
      					{
      						symbol: 'calendar-check-o ',
      						url: 'https:/nnnnnnnnnnnnnnnnnnnnn/basic.ics'
      					}
      				],
      			}
      		},
      		{
      			module: 'calendar',
      			header: 'Binday',
      			position: 'bottom_left',
      			config: {
                          maximumEntries: 4, // Total Maximum Entries
                          maximumNumberOfDays: 365,
                          displaySymbol: true,
                          defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/
                          displayRepeatingCountTitle: false,
                          defaultRepeatingCountTitle: "",
                          maxTitleLength: 30,
                          fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
                          animationSpeed: 2000,
                          fade: true,
                          showEnd: false,
                          urgency: 0,
                          timeFormat: "absolute",
                          dateFormat: "ddd Do MMMM",
                          getRelative: 0,
                          fadePoint: 0.50, // Start on 1/4th of the list.
                          hidePrivate: false,
                          calendars: [
                          {
      						symbol: 'trash-o ',
      						url: 'https:/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn/basic.ics'
      					}
      				],
                      titleReplace: {
                      //	"'s birthday": "",
                      //	"Recycling": "Bins",
                          "Red Bin": "Red & Black Bins",
                          "Green Bin": "Green & Black Bins" 
                      },
                      // Override start method.
                      start: function () {
                          Log.log("Starting module: " + this.name);
      
                          /* This code changed times to 24hr clock until April 17 system update.
                          ** Set locale.
                          **  if (config.language === 'en' && config.timeFormat == 24) {
                          **  config.language = 'en-gb';
                          **  }
                          ** moment.locale(config.language);
                          */
                          
                          
                          for (var c in this.config.calendars) {
                              var calendar = this.config.calendars[c];
                              calendar.url = calendar.url.replace("webcal://", "http://");
                              this.addCalendar(calendar.url, calendar.user, calendar.pass);
                          }
      
                          this.calendarData = {};
                          this.loaded = false;
      	},
      			}
      	},                
          	
      		{
      			module: 'compliments',
      			position: 'lower_third',
                  config: {
      			anytime: [
      				"A1",
                      "A2",
                      "A3"
      			],
      			morning: [
      				"M1",
      				"M2",
      				"M3"
      			],
      			afternoon: [
      				"N1",
      				"N2",
      				"N3"
      			],
      			evening: [
      				"E1",
      				"E2",
      				"E3"
      			]
      		},
      		updateInterval: 30000,
      		remoteFile: null,
      		fadeSpeed: 4000
      			/*config: {
      				remoteFile: 'compliments.json'
      			}*/
      		},  
      		
      
              {   
                  module: 'MMM-doomsDay',
                  position: 'top_center', // This can be any of the regions, best results in center regions
                  config: {
                  doomsDay: "2022-01-06 24:00:00", // YYYY-MM-DD HH:MM:SS, Do not alter the time, just the date
                  /*            doomsDay: "2020-12-21 24:00:00", // YYYY-MM-DD HH:MM:SS, Do not alter the time, just the date   */
                  toWhat: "today",
                      // See 'Configuration options' for more information.
                          }
              },
      
      		{
      			module: 'currentweather',
      			header: 'Current weather for: ',			
      			position: 'top_right',
      			config: {
      				location: 'nnnnnnnnnnnnnnnn,GB',
      				locationID: 'nnnn',  //ID from http://www.openweathermap.org
      				appid: 'nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn'
      			}
      		},
      
      
      		{
      			module: 'weatherforecast',
      			position: 'top_right',
      			header: 'Weather Forecast',
      			config: {
      				location: 'nnnnnn,GB',
      				locationID: 'nnnnnnn',  //ID from http://www.openweathermap.org
      				appid: 'aaannnnnnnnnn'
      			}
      		},
      
      
      
              {
                  module: 'MMM-MysqlQuery',
                  position: 'bottom_right',
      			header: 'Greenhouse Status',            
                  config: {
                      connection: {
                          host: "192.168.1.23",
                          port: 3306,
                          user: "nnnnnnnnnnnnnnnn",
                          password: "nnnnnnnnnnnnnnnn",
                          database: "garage"
                      },
      /*              query: `select Temp-2
                              from readings
                              order by ID desc
                              limit 1`,
      */
      			query: "select Added, \
      			Temp, \
      						Pressure, \
      						Humidity \
      						from gh_readings \
      						order by ID \
      						desc limit 3",
      				
      
      
      
          			intervalSeconds: 1 * 60,
                      emptyMessage: "No data!",
                      columns: [
                          { name: "Added",     title: "At", cssClass: "left", dateFormat: "time", dateLocale: "en-GB" },                     
                          { name: "Temp",     title: "Temp", cssClass: "left", suffix: "°C", nullValue: "???" },
                          { name: "Pressure",     title: "Pressure", cssClass: "left", suffix: " hPa", nullValue: "???" },
                          { name: "Humidity",     title: "Humidity", cssClass: "left", suffix: " %" },
                     ]
                  }
              },
      */
         
              
      
      
      
              
      		{
      			module: 'newsfeed',
      			position: 'bottom_bar',
      			config: {
      				feeds: [
                          {
                              title: "BBC World",
                              url: "http://feeds.bbci.co.uk/news/world/rss.xml"
                          }, 
      		    
      		    {
                              title: "Al Jazeera",
                              url: "https://www.aljazeera.com/xml/rss/all.xml"
                          }, 
      		                                           
                          {
                              title: "Sky news",
                              url: "http://feeds.skynews.com/feeds/rss/world.xml"
                          }                    
                      ],
      				showSourceTitle: true,
      				showPublishDate: true,
                      reloadInterval:  2 * 60 * 1000, // every 5 minutes
                      updateInterval: 2 * 5000
      			}
      		}
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== 'undefined') {module.exports = config;}
      
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      pi@magicmirror:~/MagicMirror $ pm2 logs --lines=50
      [TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 50 lines:
      PM2        | 2022-01-06T14:24:56: PM2 log: App [MagicMirror:0] starting in -fork mode-
      PM2        | 2022-01-06T14:24:56: PM2 log: App [MagicMirror:0] online
      PM2        | 2022-01-06T14:50:49: PM2 log: Stopping app:MagicMirror id:0
      PM2        | 2022-01-06T14:50:49: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
      PM2        | 2022-01-06T14:50:49: PM2 log: pid=12707 msg=process killed
      PM2        | 2022-01-06T14:50:59: PM2 log: App [MagicMirror:0] starting in -fork mode-
      PM2        | 2022-01-06T14:50:59: PM2 log: App [MagicMirror:0] online
      
      /home/pi/.pm2/logs/MagicMirror-out.log last 50 lines:
      0|MagicMir | 
      0|MagicMir | > magicmirror@2.18.0 start
      0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|MagicMir | 
      0|MagicMir | 
      0|MagicMir | > magicmirror@2.18.0 start
      0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|MagicMir | 
      
      /home/pi/.pm2/logs/MagicMirror-error.log last 50 lines:
      0|MagicMir |     at require (node:internal/modules/cjs/helpers:94:18)
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14)
      0|MagicMir |     at Module._compile (node:internal/modules/cjs/loader:1116:14)
      0|MagicMir | (node:12755) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead.
      0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
      0|MagicMir | A JavaScript error occurred in the main process
      0|MagicMir | Uncaught Exception:
      0|MagicMir | TypeError: Log.log is not a function
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5)
      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/js/electron.js:4:14)
      0|MagicMir |     at Module._compile (node:internal/modules/cjs/loader:1116:14)
      0|MagicMir | [12789:0106/142502.942799:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
      0|MagicMir | [12805:0106/142503.366582:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
      0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      0|MagicMir | App threw an error during load
      0|MagicMir | TypeError: Log.log is not a function
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5)
      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/js/electron.js:4:14)
      0|MagicMir |     at Module._compile (node:internal/modules/cjs/loader:1116:14)
      0|MagicMir | (node:18699) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead.
      0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
      0|MagicMir | A JavaScript error occurred in the main process
      0|MagicMir | Uncaught Exception:
      0|MagicMir | TypeError: Log.log is not a function
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5)
      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/js/electron.js:4:14)
      0|MagicMir |     at Module._compile (node:internal/modules/cjs/loader:1116:14)
      0|MagicMir | [18754:0106/145107.193182:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
      0|MagicMir | [18773:0106/145107.559447:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
      
      
      pi@magicmirror:~/MagicMirror $ node -v
      v17.3.0
      pi@magicmirror:~/MagicMirror $ npm -v
      8.3.0
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      Online, but no MM showing.

      
      pi@magicmirror:~/MagicMirror $ pm2 start MagicMirror
      [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
      [PM2] [MagicMirror](0) ✓
      [PM2] Process successfully started
      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
      │ 0  │ MagicMirror        │ fork     │ 0    │ online    │ 0%       │ 2.5mb    │
      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
      pi@magicmirror:~/MagicMirror $ 
      
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      pi@magicmirror:~/MagicMirror $ rm -rf node_modules
      pi@magicmirror:~/MagicMirror $ rm package-lock.json
      pi@magicmirror:~/MagicMirror $ npm install --only=prod
      
      > magicmirror@2.18.0 install
      > echo "Installing vendor files ...
      > " && cd vendor && npm install --loglevel=error
      
      Installing vendor files ...
      
      
      up to date, audited 10 packages in 4s
      
      found 0 vulnerabilities
      
      > magicmirror@2.18.0 postinstall
      > npm run install-fonts && echo "MagicMirror installation finished successfully! 
      > "
      
      
      > magicmirror@2.18.0 install-fonts
      > echo "Installing fonts ...
      > " && cd fonts && npm install --loglevel=error
      
      Installing fonts ...
      
      
      up to date, audited 2 packages in 13s
      
      found 0 vulnerabilities
      MagicMirror installation finished successfully! 
      
      
      > magicmirror@2.18.0 prepare
      > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed.
      
      no husky installed.
      
      added 267 packages, and audited 268 packages in 6m
      
      19 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      pi@magicmirror:~/MagicMirror $ 
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @sdetweil

      pi@magicmirror:~/MagicMirror $ pm2 stop 0
      [PM2] Applying action stopProcessId on app [0](ids: [ '0' ])
      [PM2] [MagicMirror](0) ✓
      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
      │ 0  │ MagicMirror        │ fork     │ 0    │ stopped   │ 0%       │ 0b       │
      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
      pi@magicmirror:~/MagicMirror $ pm2 flush
      [PM2] Flushing /home/pi/.pm2/pm2.log
      [PM2] Flushing:
      [PM2] /home/pi/.pm2/logs/MagicMirror-out.log
      [PM2] /home/pi/.pm2/logs/MagicMirror-error.log
      [PM2] Logs flushed
      pi@magicmirror:~/MagicMirror $ pm2 start 0
      [PM2] Applying action restartProcessId on app [0](ids: [ '0' ])
      [PM2] [MagicMirror](0) ✓
      [PM2] Process successfully started
      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
      │ 0  │ MagicMirror        │ fork     │ 0    │ online    │ 0%       │ 2.4mb    │
      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
      
      
      
      pi@magicmirror:~/MagicMirror $ pm2 logs --lines=50
      [TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 50 lines:
      PM2        | 2022-01-06T14:24:56: PM2 log: App [MagicMirror:0] starting in -fork mode-
      PM2        | 2022-01-06T14:24:56: PM2 log: App [MagicMirror:0] online
      
      /home/pi/.pm2/logs/MagicMirror-out.log last 50 lines:
      0|MagicMir | 
      0|MagicMir | > magicmirror@2.18.0 start
      0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|MagicMir | 
      
      /home/pi/.pm2/logs/MagicMirror-error.log last 50 lines:
      0|MagicMir | App threw an error during load
      0|MagicMir | TypeError: Log.log is not a function
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5)
      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/js/electron.js:4:14)
      0|MagicMir |     at Module._compile (node:internal/modules/cjs/loader:1116:14)
      0|MagicMir | (node:12755) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead.
      0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created)
      0|MagicMir | A JavaScript error occurred in the main process
      0|MagicMir | Uncaught Exception:
      0|MagicMir | TypeError: Log.log is not a function
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5)
      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/js/electron.js:4:14)
      0|MagicMir |     at Module._compile (node:internal/modules/cjs/loader:1116:14)
      0|MagicMir | [12789:0106/142502.942799:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
      0|MagicMir | [12805:0106/142503.366582:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
      
      
      
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      Still no MM though. Status says online, but it’s not launching MM.
      I’ll reboot, because, why not…

      pi@magicmirror:~/MagicMirror $ pm2 start MagicMirror
      [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
      [PM2] [MagicMirror](0) ✓
      [PM2] Process successfully started
      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
      │ 0  │ MagicMirror        │ fork     │ 0    │ online    │ 0%       │ 2.6mb    │
      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
      pi@magicmirror:~/MagicMirror $ 
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      What are “dev dependencies” to the uninitiated?

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @mumblebaj

      Looking better…

      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ npm i mysql --force
      npm WARN using --force Recommended protections disabled.
      npm WARN ERESOLVE overriding peer dependency
      npm WARN While resolving: grunt-stylelint@0.17.0
      npm WARN Found: stylelint@8.4.0
      npm WARN node_modules/stylelint
      npm WARN   dev stylelint@"^8.3.0" from the root project
      npm WARN 
      npm WARN Could not resolve dependency:
      npm WARN peer stylelint@"^14.0.0" from grunt-stylelint@0.17.0
      npm WARN node_modules/grunt-stylelint
      npm WARN   dev grunt-stylelint@"latest" from the root project
      npm WARN 
      npm WARN Conflicting peer dependency: stylelint@14.2.0
      npm WARN node_modules/stylelint
      npm WARN   peer stylelint@"^14.0.0" from grunt-stylelint@0.17.0
      npm WARN   node_modules/grunt-stylelint
      npm WARN     dev grunt-stylelint@"latest" from the root project
      npm WARN ERESOLVE overriding peer dependency
      npm WARN While resolving: stylelint-config-standard@24.0.0
      npm WARN Found: stylelint@8.4.0
      npm WARN node_modules/stylelint
      npm WARN   dev stylelint@"^8.3.0" from the root project
      npm WARN 
      npm WARN Could not resolve dependency:
      npm WARN peer stylelint@"^14.0.0" from stylelint-config-standard@24.0.0
      npm WARN node_modules/stylelint-config-standard
      npm WARN   dev stylelint-config-standard@"latest" from the root project
      npm WARN 
      npm WARN Conflicting peer dependency: stylelint@14.2.0
      npm WARN node_modules/stylelint
      npm WARN   peer stylelint@"^14.0.0" from stylelint-config-standard@24.0.0
      npm WARN   node_modules/stylelint-config-standard
      npm WARN     dev stylelint-config-standard@"latest" from the root project
      npm WARN ERESOLVE overriding peer dependency
      npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
      npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      added 606 packages, and audited 1043 packages in 3m
      
      49 packages are looking for funding
        run `npm fund` for details
      
      29 vulnerabilities (1 low, 17 moderate, 11 high)
      
      To address issues that do not require attention, run:
        npm audit fix
      
      To address all issues (including breaking changes), run:
        npm audit fix --force
      
      Run `npm audit` for details.
      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ 
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @mumblebaj

      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ npm i mysql
      npm ERR! code ERESOLVE
      npm ERR! ERESOLVE unable to resolve dependency tree
      npm ERR! 
      npm ERR! While resolving: mmm-mysqlquery@1.0.0
      npm ERR! Found: stylelint@8.4.0
      npm ERR! node_modules/stylelint
      npm ERR!   dev stylelint@"^8.3.0" from the root project
      npm ERR! 
      npm ERR! Could not resolve dependency:
      npm ERR! peer stylelint@"^14.0.0" from grunt-stylelint@0.17.0
      npm ERR! node_modules/grunt-stylelint
      npm ERR!   dev grunt-stylelint@"latest" from the root project
      npm ERR! 
      npm ERR! Fix the upstream dependency conflict, or retry
      npm ERR! this command with --force, or --legacy-peer-deps
      npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
      npm ERR! 
      npm ERR! See /home/pi/.npm/eresolve-report.txt for a full report.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2022-01-06T14_02_53_804Z-debug-0.log
      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ 
      
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @mumblebaj

      Install mysql - how and where?

      Apologies for the detail request, but having got this far, I don’t want to break anything else.

      Thank you.

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @mumblebaj

      did you do the uninstall in the MagicMirror folder first?
      Yes, I did.

      pi@magicmirror:~ $ sudo rm package-lock.json
      pi@magicmirror:~ $ cd ~/MagicMirror
      pi@magicmirror:~/MagicMirror $ cd modules/MMM-MysqlQuery
      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ npm install
      npm ERR! code ERESOLVE
      npm ERR! ERESOLVE unable to resolve dependency tree
      npm ERR! 
      npm ERR! While resolving: mmm-mysqlquery@1.0.0
      npm ERR! Found: stylelint@8.4.0
      npm ERR! node_modules/stylelint
      npm ERR!   dev stylelint@"^8.3.0" from the root project
      npm ERR! 
      npm ERR! Could not resolve dependency:
      npm ERR! peer stylelint@"^14.0.0" from grunt-stylelint@0.17.0
      npm ERR! node_modules/grunt-stylelint
      npm ERR!   dev grunt-stylelint@"latest" from the root project
      npm ERR! 
      npm ERR! Fix the upstream dependency conflict, or retry
      npm ERR! this command with --force, or --legacy-peer-deps
      npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
      npm ERR! 
      npm ERR! See /home/pi/.npm/eresolve-report.txt for a full report.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2022-01-06T13_37_32_112Z-debug-0.log
      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ 
      
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @richard238

      And step two:

      pi@magicmirror:~/MagicMirror $ npm uninstall mysql
      
      up to date, audited 758 packages in 10s
      
      66 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      pi@magicmirror:~/MagicMirror $ cd modules/MMM-MysqlQuery
      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ npm install
      npm ERR! code ERESOLVE
      npm ERR! ERESOLVE unable to resolve dependency tree
      npm ERR! 
      npm ERR! While resolving: mmm-mysqlquery@1.0.0
      npm ERR! Found: stylelint@8.4.0
      npm ERR! node_modules/stylelint
      npm ERR!   dev stylelint@"^8.3.0" from the root project
      npm ERR! 
      npm ERR! Could not resolve dependency:
      npm ERR! peer stylelint@"^14.0.0" from grunt-stylelint@0.17.0
      npm ERR! node_modules/grunt-stylelint
      npm ERR!   dev grunt-stylelint@"latest" from the root project
      npm ERR! 
      npm ERR! Fix the upstream dependency conflict, or retry
      npm ERR! this command with --force, or --legacy-peer-deps
      npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
      npm ERR! 
      npm ERR! See /home/pi/.npm/eresolve-report.txt for a full report.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2022-01-06T12_51_27_088Z-debug-0.log
      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ 
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @mumblebaj

      Ok, step one completed and looking much more up-to-date:

      pi@magicmirror:~ $ npm -v
      8.3.0
      pi@magicmirror:~ $ node -v
      v17.3.0
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @mumblebaj

      Great ok, thank you.

      What’s the best way to do those two updates, please?

      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @mumblebaj

       $ node -v     v10.24.1
       $ npm -v      7.24.2
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @mumblebaj

      pi@magicmirror:~/MagicMirror $ npm uninstall mysql
      npm WARN EBADENGINE Unsupported engine { package: 'magicmirror@2.18.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@es-joy/jsdoccomment@0.13.0',
      npm WARN EBADENGINE   required: { node: '^12 || ^14 || ^16 || ^17' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@eslint/eslintrc@1.0.5',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@typescript-eslint/experimental-utils@5.8.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@typescript-eslint/scope-manager@5.8.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@typescript-eslint/types@5.8.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@typescript-eslint/typescript-estree@5.8.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@typescript-eslint/visitor-keys@5.8.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'commander@8.3.0',
      npm WARN EBADENGINE   required: { node: '>= 12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'comment-parser@1.3.0',
      npm WARN EBADENGINE   required: { node: '>= 12.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'data-urls@3.0.1',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'domexception@4.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'eslint@8.5.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'eslint-plugin-jest@25.3.0',
      npm WARN EBADENGINE   required: { node: '^12.13.0 || ^14.15.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'eslint-plugin-jsdoc@37.4.0',
      npm WARN EBADENGINE   required: { node: '^12 || ^14 || ^16 || ^17' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'eslint-scope@7.1.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'eslint-visitor-keys@3.1.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'espree@9.2.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'html-encoding-sniffer@3.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'husky@7.0.4',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'jsdoc-type-pratt-parser@2.0.0',
      npm WARN EBADENGINE   required: { node: '>=12.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'jsdom@19.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'playwright@1.17.1',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'playwright-core@1.17.1',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'postcss-safe-parser@6.0.0',
      npm WARN EBADENGINE   required: { node: '>=12.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'stylelint@14.2.0',
      npm WARN EBADENGINE   required: { node: '^12.20.0 || ^14.13.1 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'stylelint-config-prettier@9.0.3',
      npm WARN EBADENGINE   required: { node: '>= 12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'stylelint-prettier@2.0.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'tr46@3.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'w3c-xmlserializer@3.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'webidl-conversions@7.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'whatwg-encoding@2.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'whatwg-mimetype@3.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'whatwg-url@10.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'xml-name-validator@4.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      
      removed 4 packages, and audited 758 packages in 14s
      
      66 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      pi@magicmirror:~/MagicMirror $ cd modules/MMM-MysqlQuery
      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ npm install
      npm ERR! code ERESOLVE
      npm ERR! ERESOLVE unable to resolve dependency tree
      npm ERR! 
      npm ERR! While resolving: mmm-mysqlquery@1.0.0
      npm ERR! Found: stylelint@8.4.0
      npm ERR! node_modules/stylelint
      npm ERR!   dev stylelint@"^8.3.0" from the root project
      npm ERR! 
      npm ERR! Could not resolve dependency:
      npm ERR! peer stylelint@"^14.0.0" from grunt-stylelint@0.17.0
      npm ERR! node_modules/grunt-stylelint
      npm ERR!   dev grunt-stylelint@"latest" from the root project
      npm ERR! 
      npm ERR! Fix the upstream dependency conflict, or retry
      npm ERR! this command with --force, or --legacy-peer-deps
      npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
      npm ERR! 
      npm ERR! See /home/pi/.npm/eresolve-report.txt for a full report.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2022-01-06T12_07_55_731Z-debug.log
      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ 
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @mumblebaj

      pi@magicmirror:~ $ cd ~/MagicMirror/modules/MMM-MysqlQuery
      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ npm init -y
      Wrote to /home/pi/MagicMirror/modules/MMM-MysqlQuery/package.json:
      
      {
        "name": "mmm-mysqlquery",
        "version": "1.0.0",
        "description": "MagicMirror module to display result of MySQL query",
        "license": "MIT",
        "main": "MMM-MysqlQuery.js",
        "scripts": {
          "test": "./node_modules/grunt/bin/grunt"
        },
        "author": "Rich Alberth",
        "repository": {
          "type": "git",
          "url": "git+https://github.com/ralberth/MMM-MysqlQuery.git"
        },
        "keywords": [
          "MagicMirror",
          "module",
          "mysql"
        ],
        "dependencies": {
          "mysql": "latest",
          "npm": "^6.4.1"
        },
        "devDependencies": {
          "grunt": "latest",
          "grunt-eslint": "latest",
          "grunt-jsonlint": "latest",
          "grunt-markdownlint": "^1.0.13",
          "grunt-stylelint": "latest",
          "grunt-yamllint": "^0.3.0",
          "stylelint": "^8.3.0",
          "stylelint-config-standard": "latest",
          "time-grunt": "latest",
          "electron-rebuild": "^1.8.2"
        },
        "bugs": {
          "url": "https://github.com/ralberth/MMM-MysqlQuery/issues"
        },
        "homepage": "https://github.com/ralberth/MMM-MysqlQuery#readme"
      }
      
      
      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ npm install mysql --save
      npm ERR! code ERESOLVE
      npm ERR! ERESOLVE unable to resolve dependency tree
      npm ERR! 
      npm ERR! While resolving: mmm-mysqlquery@1.0.0
      npm ERR! Found: stylelint@8.4.0
      npm ERR! node_modules/stylelint
      npm ERR!   dev stylelint@"^8.3.0" from the root project
      npm ERR! 
      npm ERR! Could not resolve dependency:
      npm ERR! peer stylelint@"^14.0.0" from grunt-stylelint@0.17.0
      npm ERR! node_modules/grunt-stylelint
      npm ERR!   dev grunt-stylelint@"latest" from the root project
      npm ERR! 
      npm ERR! Fix the upstream dependency conflict, or retry
      npm ERR! this command with --force, or --legacy-peer-deps
      npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
      npm ERR! 
      npm ERR! See /home/pi/.npm/eresolve-report.txt for a full report.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2022-01-06T11_56_31_385Z-debug.log
      pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ 
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      @mumblebaj

      Yes, that’s what I spotted, then I did

      pi@magicmirror:~/MagicMirror $ npm install mysql
      
      posted in Troubleshooting
      R
      Richard238
    • RE: v2.18.0 update gave black screen, then nothing.

      Powered it down, switched it on. Shows MM splash screen, then goes to desktop.

      No sign of MM :(

      Nothing new logged in either .npm or .pm2 log files.

      posted in Troubleshooting
      R
      Richard238
    • v2.18.0 update gave black screen, then nothing.

      MM said I was 122 commits behind.
      Ran the update script:

      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
      

      Eeeeek, black screen! Searched forum, found this:
      https://forum.magicmirror.builders/topic/15240/black-screen/2?_=1641460034694

      Did as suggested:

      pi@magicmirror:~/MagicMirror $ npm run config:check
      
      
      > magicmirror@2.18.0 config:check
      > node js/check_config.js
      
      
      /home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2359
      const require$1 = Module.createRequire((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('eslintrc.cjs', document.baseURI).href)));
                               ^
      
      TypeError: Module.createRequire is not a function
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2359:26)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
          at Module.load (internal/modules/cjs/loader.js:653:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
          at Function.Module._load (internal/modules/cjs/loader.js:585:3)
          at Module.require (internal/modules/cjs/loader.js:692:17)
          at require (internal/modules/cjs/helpers.js:25:18)
          at Object.<anonymous> (/home/pi/MagicMirror/node_modules/eslint/lib/cli-engine/cli-engine.js:33:5)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
      

      https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

      pi@magicmirror:~/MagicMirror $ npm init -y

      Wrote to /home/pi/MagicMirror/package.json:
      
      {
        "name": "magicmirror",
        "version": "2.18.0",
        "description": "The open source modular smart mirror platform.",
        "main": "js/electron.js",
        "scripts": {
          "start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
          "start:dev": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js dev",
          "server": "node ./serveronly",
          "install": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error",
          "install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error",
          "postinstall": "npm run install-fonts && echo \"MagicMirror installation finished successfully! \n\"",
          "test": "NODE_ENV=test jest -i --forceExit",
          "test:coverage": "NODE_ENV=test nyc --reporter=lcov --reporter=text jest -i --forceExit",
          "test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",
          "test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit",
          "test:unit": "NODE_ENV=test jest --selectProjects unit -i --forceExit",
          "test:prettier": "prettier . --check",
          "test:js": "eslint 'js/**/*.js' 'modules/default/**/*.js' 'clientonly/*.js' 'serveronly/*.js' 'translations/*.js' 'vendor/*.js' 'tests/**/*.js' 'config/*' --config .eslintrc.json",
          "test:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json",
          "test:calendar": "node ./modules/default/calendar/debug.js",
          "config:check": "node js/check_config.js",
          "lint:prettier": "prettier . --write",
          "lint:js": "eslint 'js/**/*.js' 'modules/default/**/*.js' 'clientonly/*.js' 'serveronly/*.js' 'translations/*.js' 'vendor/*.js' 'tests/**/*.js' 'config/*' --config .eslintrc.json --fix",
          "lint:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json --fix",
          "lint:staged": "pretty-quick --staged",
          "prepare": "[ -f node_modules/.bin/husky ] && husky install || echo no husky installed."
        },
        "repository": {
          "type": "git",
          "url": "git+https://github.com/MichMich/MagicMirror.git"
        },
        "keywords": [
          "magic mirror",
          "smart mirror",
          "mirror UI",
          "modular"
        ],
        "author": "Michael Teeuw",
        "contributors": [
          "https://github.com/MichMich/MagicMirror/graphs/contributors"
        ],
        "license": "MIT",
        "bugs": {
          "url": "https://github.com/MichMich/MagicMirror/issues"
        },
        "homepage": "https://magicmirror.builders",
        "devDependencies": {
          "eslint-config-prettier": "^8.3.0",
          "eslint-plugin-jest": "^25.3.0",
          "eslint-plugin-jsdoc": "^37.4.0",
          "eslint-plugin-prettier": "^4.0.0",
          "express-basic-auth": "^1.2.1",
          "husky": "^7.0.4",
          "jest": "^27.4.5",
          "jsdom": "^19.0.0",
          "lodash": "^4.17.21",
          "nyc": "^15.1.0",
          "playwright": "^1.17.1",
          "prettier": "^2.5.1",
          "pretty-quick": "^3.1.3",
          "sinon": "^12.0.1",
          "stylelint": "^14.2.0",
          "stylelint-config-prettier": "^9.0.3",
          "stylelint-config-standard": "^24.0.0",
          "stylelint-prettier": "^2.0.0",
          "suncalc": "^1.8.0"
        },
        "optionalDependencies": {
          "electron": "^16.0.5"
        },
        "dependencies": {
          "colors": "^1.4.0",
          "console-stamp": "^3.0.3",
          "digest-fetch": "^1.2.1",
          "eslint": "^8.5.0",
          "express": "^4.17.2",
          "express-ipfilter": "^1.2.0",
          "feedme": "^2.0.2",
          "helmet": "^4.6.0",
          "iconv-lite": "^0.6.3",
          "module-alias": "^2.2.2",
          "moment": "^2.29.1",
          "node-fetch": "^2.6.6",
          "node-ical": "^0.13.0",
          "socket.io": "^4.4.0"
        },
        "engines": {
          "node": ">=12"
        },
        "jest": {
          "verbose": true,
          "testTimeout": 10000,
          "projects": [
            {
              "displayName": "unit",
              "moduleNameMapper": {
                "logger": "<rootDir>/js/logger.js"
              },
              "testMatch": [
                "**/tests/unit/**/*.[jt]s?(x)"
              ],
              "testPathIgnorePatterns": [
                "<rootDir>/tests/unit/mocks"
              ]
            },
            {
              "displayName": "electron",
              "testMatch": [
                "**/tests/electron/**/*.[jt]s?(x)"
              ]
            },
            {
              "displayName": "e2e",
              "setupFilesAfterEnv": [
                "<rootDir>/tests/e2e/mock-console.js"
              ],
              "testMatch": [
                "**/tests/e2e/**/*.[jt]s?(x)"
              ],
              "modulePaths": [
                "<rootDir>/js/"
              ],
              "testPathIgnorePatterns": [
                "<rootDir>/tests/e2e/modules/mocks",
                "<rootDir>/tests/e2e/modules/basic-auth.js",
                "<rootDir>/tests/e2e/global-setup.js",
                "<rootDir>/tests/e2e/mock-console.js"
              ]
            }
          ]
        },
        "directories": {
          "test": "tests"
        }
      }
      
      
      pi@magicmirror:~/MagicMirror $ 
      
      pi@magicmirror:~/MagicMirror $ pm2 logs --lines=50
      [TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 50 lines:
      PM2        | 2021-12-22T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2021-12-23T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2021-12-23T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2021-12-24T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2021-12-24T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2021-12-25T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2021-12-25T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2021-12-26T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2021-12-26T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2021-12-27T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2021-12-27T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2021-12-28T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2021-12-28T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2021-12-29T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2021-12-29T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2021-12-30T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2021-12-30T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2021-12-31T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2021-12-31T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2022-01-01T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2022-01-01T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2022-01-02T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2022-01-02T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2022-01-03T13:52:37: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2022-01-03T13:52:37: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2022-01-04T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2022-01-04T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2022-01-05T13:52:36: PM2 log: [PM2] This PM2 is not UP TO DATE
      PM2        | 2022-01-05T13:52:36: PM2 log: [PM2] Upgrade to version 5.1.2
      PM2        | 2022-01-06T08:25:26: PM2 log: Stopping app:MagicMirror id:0
      PM2        | 2022-01-06T08:25:27: PM2 log: pid=32642 msg=failed to kill - retrying in 100ms
      PM2        | 2022-01-06T08:25:27: PM2 log: pid=32642 msg=failed to kill - retrying in 100ms
      PM2        | 2022-01-06T08:25:27: PM2 log: pid=32642 msg=failed to kill - retrying in 100ms
      PM2        | 2022-01-06T08:25:27: PM2 log: pid=32642 msg=failed to kill - retrying in 100ms
      PM2        | 2022-01-06T08:25:27: PM2 log: pid=32642 msg=failed to kill - retrying in 100ms
      PM2        | 2022-01-06T08:25:27: PM2 log: pid=32642 msg=failed to kill - retrying in 100ms
      PM2        | 2022-01-06T08:25:28: PM2 log: pid=32642 msg=failed to kill - retrying in 100ms
      PM2        | 2022-01-06T08:25:28: PM2 log: pid=32642 msg=failed to kill - retrying in 100ms
      PM2        | 2022-01-06T08:25:28: PM2 log: pid=32642 msg=failed to kill - retrying in 100ms
      PM2        | 2022-01-06T08:25:28: PM2 log: pid=32642 msg=failed to kill - retrying in 100ms
      PM2        | 2022-01-06T08:25:28: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
      PM2        | 2022-01-06T08:25:28: PM2 log: pid=32642 msg=process killed
      PM2        | 2022-01-06T08:31:27: PM2 log: App [MagicMirror:0] starting in -fork mode-
      PM2        | 2022-01-06T08:31:27: PM2 log: App [MagicMirror:0] online
      PM2        | 2022-01-06T08:33:57: PM2 log: Stopping app:MagicMirror id:0
      PM2        | 2022-01-06T08:33:58: PM2 log: pid=12095 msg=failed to kill - retrying in 100ms
      PM2        | 2022-01-06T08:33:58: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
      PM2        | 2022-01-06T08:33:58: PM2 log: pid=12095 msg=process killed
      PM2        | 2022-01-06T08:34:05: PM2 log: App [MagicMirror:0] starting in -fork mode-
      PM2        | 2022-01-06T08:34:05: PM2 log: App [MagicMirror:0] online
      
      /home/pi/.pm2/logs/MagicMirror-out.log last 50 lines:
      0|MagicMir | [06.01.2022 08:31.32.828] [LOG]   Module helper loaded: currentweather
      0|MagicMir | [06.01.2022 08:31.32.833] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:31.32.835] [LOG]   Module helper loaded: weatherforecast
      0|MagicMir | [06.01.2022 08:31.32.843] [LOG]   Loading module helpers ...
      0|MagicMir | [06.01.2022 08:31.32.845] [LOG]   No helper found for module: alert.
      0|MagicMir | [06.01.2022 08:31.32.847] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:31.32.849] [LOG]   Module helper loaded: updatenotification
      0|MagicMir | [06.01.2022 08:31.32.850] [LOG]   No helper found for module: clock.
      0|MagicMir | [06.01.2022 08:31.32.852] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:31.32.853] [LOG]   Module helper loaded: calendar
      0|MagicMir | [06.01.2022 08:31.32.855] [LOG]   No helper found for module: compliments.
      0|MagicMir | [06.01.2022 08:31.32.857] [LOG]   No helper found for module: MMM-doomsDay.
      0|MagicMir | [06.01.2022 08:31.32.859] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:31.32.860] [LOG]   Module helper loaded: currentweather
      0|MagicMir | [06.01.2022 08:31.32.862] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:31.32.863] [LOG]   Module helper loaded: weatherforecast
      0|MagicMir | [06.01.2022 08:31.33.522] [LOG]   Launching application.
      0|MagicMir | 
      0|MagicMir | > magicmirror@2.18.0 start
      0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|MagicMir | 
      0|MagicMir | [06.01.2022 08:34.09.207] [LOG]   Starting MagicMirror: v2.18.0
      0|MagicMir | [06.01.2022 08:34.09.220] [LOG]   Loading config ...
      0|MagicMir | [06.01.2022 08:34.09.232] [LOG]   Loading module helpers ...
      0|MagicMir | [06.01.2022 08:34.09.238] [LOG]   No helper found for module: alert.
      0|MagicMir | [06.01.2022 08:34.09.272] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:34.09.275] [LOG]   Module helper loaded: updatenotification
      0|MagicMir | [06.01.2022 08:34.09.279] [LOG]   No helper found for module: clock.
      0|MagicMir | [06.01.2022 08:34.09.600] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:34.09.603] [LOG]   Module helper loaded: calendar
      0|MagicMir | [06.01.2022 08:34.09.606] [LOG]   No helper found for module: compliments.
      0|MagicMir | [06.01.2022 08:34.09.609] [LOG]   No helper found for module: MMM-doomsDay.
      0|MagicMir | [06.01.2022 08:34.09.614] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:34.09.616] [LOG]   Module helper loaded: currentweather
      0|MagicMir | [06.01.2022 08:34.09.620] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:34.09.622] [LOG]   Module helper loaded: weatherforecast
      0|MagicMir | [06.01.2022 08:34.09.630] [LOG]   Loading module helpers ...
      0|MagicMir | [06.01.2022 08:34.09.632] [LOG]   No helper found for module: alert.
      0|MagicMir | [06.01.2022 08:34.09.634] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:34.09.635] [LOG]   Module helper loaded: updatenotification
      0|MagicMir | [06.01.2022 08:34.09.637] [LOG]   No helper found for module: clock.
      0|MagicMir | [06.01.2022 08:34.09.638] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:34.09.640] [LOG]   Module helper loaded: calendar
      0|MagicMir | [06.01.2022 08:34.09.641] [LOG]   No helper found for module: compliments.
      0|MagicMir | [06.01.2022 08:34.09.643] [LOG]   No helper found for module: MMM-doomsDay.
      0|MagicMir | [06.01.2022 08:34.09.645] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:34.09.646] [LOG]   Module helper loaded: currentweather
      0|MagicMir | [06.01.2022 08:34.09.648] [LOG]   Initializing new module helper ...
      0|MagicMir | [06.01.2022 08:34.09.649] [LOG]   Module helper loaded: weatherforecast
      0|MagicMir | [06.01.2022 08:34.10.239] [LOG]   Launching application.
      
      /home/pi/.pm2/logs/MagicMirror-error.log last 50 lines:
      0|MagicMir | - 
      0|MagicMir | [06.01.2022 08:34.09.653] [ERROR] App threw an error during load
      0|MagicMir | [06.01.2022 08:34.09.658] [ERROR] Error: Cannot find module 'mysql'
      0|MagicMir | Require stack:
      0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MysqlQuery/node_helper.js
      0|MagicMir | - /home/pi/MagicMirror/js/app.js
      0|MagicMir | - /home/pi/MagicMirror/js/electron.js
      0|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      0|MagicMir | - 
      0|MagicMir |     at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
      0|MagicMir |     at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
      0|MagicMir |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
      0|MagicMir |     at Module._load (node:internal/modules/cjs/loader:785:27)
      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-MysqlQuery/node_helper.js:10:13)
      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 | [06.01.2022 08:34.09.660] [ERROR] Whoops! There was an uncaught exception...
      **0|MagicMir | [06.01.2022 08:34.09.672] [ERROR] Error: Cannot find module 'mysql'**
      0|MagicMir | Require stack:
      0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MysqlQuery/node_helper.js
      0|MagicMir | - /home/pi/MagicMirror/js/app.js
      0|MagicMir | - /home/pi/MagicMirror/js/electron.js
      0|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      0|MagicMir | - 
      0|MagicMir |     at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
      0|MagicMir |     at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
      0|MagicMir |     at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
      0|MagicMir |     at Module._load (node:internal/modules/cjs/loader:785:27)
      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-MysqlQuery/node_helper.js:10:13)
      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 |   code: 'MODULE_NOT_FOUND',
      0|MagicMir |   requireStack: [
      0|MagicMir |     '/home/pi/MagicMirror/modules/MMM-MysqlQuery/node_helper.js',
      0|MagicMir |     '/home/pi/MagicMirror/js/app.js',
      0|MagicMir |     '/home/pi/MagicMirror/js/electron.js',
      0|MagicMir |     '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
      0|MagicMir |     undefined
      0|MagicMir |   ]
      0|MagicMir | }
      0|MagicMir | [06.01.2022 08:34.09.674] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|MagicMir | [06.01.2022 08:34.09.675] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|MagicMir | [12904:0106/083411.118170:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
      0|MagicMir | [12927:0106/083411.471839:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
      

      pi@magicmirror:~/MagicMirror $ npm install mysql

      npm WARN EBADENGINE Unsupported engine { package: 'magicmirror@2.18.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@es-joy/jsdoccomment@0.13.0',
      npm WARN EBADENGINE   required: { node: '^12 || ^14 || ^16 || ^17' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@eslint/eslintrc@1.0.5',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@typescript-eslint/experimental-utils@5.8.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@typescript-eslint/scope-manager@5.8.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@typescript-eslint/types@5.8.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@typescript-eslint/typescript-estree@5.8.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: '@typescript-eslint/visitor-keys@5.8.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'commander@8.3.0',
      npm WARN EBADENGINE   required: { node: '>= 12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'comment-parser@1.3.0',
      npm WARN EBADENGINE   required: { node: '>= 12.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'data-urls@3.0.1',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'domexception@4.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'eslint@8.5.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'eslint-plugin-jest@25.3.0',
      npm WARN EBADENGINE   required: { node: '^12.13.0 || ^14.15.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'eslint-plugin-jsdoc@37.4.0',
      npm WARN EBADENGINE   required: { node: '^12 || ^14 || ^16 || ^17' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'eslint-scope@7.1.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'eslint-visitor-keys@3.1.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'espree@9.2.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'html-encoding-sniffer@3.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'husky@7.0.4',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'jsdoc-type-pratt-parser@2.0.0',
      npm WARN EBADENGINE   required: { node: '>=12.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'jsdom@19.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'playwright@1.17.1',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'playwright-core@1.17.1',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'postcss-safe-parser@6.0.0',
      npm WARN EBADENGINE   required: { node: '>=12.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'stylelint@14.2.0',
      npm WARN EBADENGINE   required: { node: '^12.20.0 || ^14.13.1 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'stylelint-config-prettier@9.0.3',
      npm WARN EBADENGINE   required: { node: '>= 12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'stylelint-prettier@2.0.0',
      npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'tr46@3.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'w3c-xmlserializer@3.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'webidl-conversions@7.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'whatwg-encoding@2.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'whatwg-mimetype@3.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'whatwg-url@10.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN EBADENGINE Unsupported engine { package: 'xml-name-validator@4.0.0',
      npm WARN EBADENGINE   required: { node: '>=12' },
      npm WARN EBADENGINE   current: { node: 'v10.24.1', npm: '7.24.2' } }
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      
      added 494 packages, and audited 761 packages in 6m
      
      66 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      pi@magicmirror:~/MagicMirror $ 
      
      

      Now when I start MM, I get just a blank page.

      pi@magicmirror:~/MagicMirror $ pm2 start MagicMirror
      [PM2] Applying action restartProcessId on app [MagicMirror](ids: 0)
      [PM2] [MagicMirror](0) ✓
      [PM2] Process successfully started
      ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
      │ id │ name               │ mode     │ ↺    │ status    │ cpu      │ memory   │
      ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
      │ 0  │ MagicMirror        │ fork     │ 45   │ online    │ 0%       │ 2.6mb    │
      └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
      pi@magicmirror:~/MagicMirror $ 
      
      

      Hope it’s a simple fix, thank you.

      posted in Troubleshooting
      R
      Richard238
    • 1 / 1