@sdetweil
Hurray!
That did it. I must have used my ‘fat fingers’ when in the MMM-NHL file.
Thanks so much!
Read the statement by Michael Teeuw here.
Latest posts made by dwleo
-
RE: Back to Booting to black
-
RE: Back to Booting to black
@sdetweil
Yeah, you are right. (sigh)
Anyway I ran it and got this:
pi@raspberrypi:~/MagicMirror $ node tests/configs/check_config.js
Checking file… /home/pi/MagicMirror/config/config.js
Your configuration file doesn’t contain syntax errors :) -
RE: Back to Booting to black
Sometimes I feel like a real noob. Anyway the config.js file is there right where it always has been.
-
RE: Back to Booting to black
@sdetweil
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘moment-timezone’ -
Back to Booting to black
Well, all was going pretty good. I added some modules and removed some. Had Carousel, NHL and NFL working well. Almost.
Then I changed the Calendar to another module, didn’t like the look so went back to calendar and everything went into the toilet. It was booting to black so I went back into it from my laptop and checked the config.js file and could not find an error. Copied it to Jshint and it gave this:
One undefined variable
111 module
That was in the last line:
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== “undefined”) {module.exports = config;}
But that is the same in the sample and my backup.
So I deleted the config.js and renamed the backup as config.js. No change.
I stopped the process with:
pm2 stop all and got:
│ Name │ mode │ status │ ↺ │ cpu │ memory │
├─────────────┼──────┼─────────┼───┼─────┼────────┤
│ MagicMirror │ fork │ stopped │ 0 │ 0% │ 0 B │I ran npm config:check and got:
pi@raspberrypi:~/MagicMirror/config $ npm run config:checkmagicmirror@2.6.0 config:check /home/pi/MagicMirror
node tests/configs/check_config.jsChecking file… /home/pi/MagicMirror/config/config.js
Your configuration file doesn’t contain syntax errors :)So now I am not sure which direction to go.
-
MMM-NHL stopped working
Hi,
I finally got my MMM-Carousel working with MMM-NFL and MMM-NHL. The only problem now is that the NHL module (which was fine before) displays a header of ‘NHL UNDEFINED UNDEFINED’ and then nothing below that. The NFL is not affected and the Carousel works very well.
Here is the part of the config involving these three modules.{
module: ‘MMM-Carousel’,
config: {
transitionalInterval: 100000,
mode: ‘positional’,
middle_center: {enabled: true, ignoreModules: [],
overrideTransitionalInterval: 100000}, }
},{
module: ‘MMM-NFL’,
position: ‘middle_center’,
config: {
helmets: false,
focus_on: [‘LA’, ‘DAL’, ‘SEA’, ‘NE’],
colored: true,}
},{
module: ‘MMM-NHL’,
position: ‘middle_center’,
config: {
colored: true,
header: true,
headlogo: true,
focus_on: [‘VAN’, ‘ANA’, ‘ARI’, ‘CGY’, ‘EDM’,
‘LA’, ‘SJ’, ‘VGK’], matches: 6,
rotateInterval: 20000,
reloadInterval: 600000,
}
},Any ideas as to what is happening?
-
RE: MM booting to black
@dwleo That was a convoluted effort but it did the trick.
Thanks lavolp3 -
RE: MM booting to black
@dwleo OK. I got in and will try to edit the config.js file somehow.