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

    Posts

    Recent Best Controversial
    • RE: MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs

      on my miirror i have set up 3 pages with mmm-pages,i’ve installed mmm-keybindings as i want to use the arrow keys to cycle through the pages but so far i’m having no luck,could anyone suggest a config sample to set this up?

      posted in Utilities
      M
      mrdenmark
    • RE: simple event module

      @bobwilliams ,thanks,looks like what i need,can it be configured as a 2 weekly schedule? in my case evry second week will be the opposite of the first week.

      posted in Requests
      M
      mrdenmark
    • RE: mirror not starting

      looking at the pm2 log i get this-

      magicmirror@2.9.0 start /home/pi/MagicMirror
      sh run-start.sh

      Starting MagicMirror: v2.9.0
      Loading config …
      Loading module helpers …
      No helper found for module: alert.
      Loading module helpers …
      No helper found for module: alert.
      Whoops! There was an uncaught exception…
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      Launching application.

      posted in Troubleshooting
      M
      mrdenmark
    • mirror not starting

      i’ve had the mirror running fine all day but the pi became unresponsive for some reason and wouldn’t respond to input(i was using chromium at the time and the mirror was minimised),i ended up pulling the power.
      upon starting the pi now,elctron starts and i get the MM splashscreen but then it goes no further.
      heres the log-
      0 info it worked if it ends with ok
      1 verbose cli [ ‘/usr/bin/node’, ‘/usr/local/bin/npm’, ‘start’ ]
      2 info using npm@6.12.0
      3 info using node@v10.15.2
      4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
      5 info lifecycle magicmirror@2.9.0~prestart: magicmirror@2.9.0
      6 info lifecycle magicmirror@2.9.0~start: magicmirror@2.9.0
      7 verbose lifecycle magicmirror@2.9.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle magicmirror@2.9.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
      9 verbose lifecycle magicmirror@2.9.0~start: CWD: /home/pi/MagicMirror
      10 silly lifecycle magicmirror@2.9.0~start: Args: [ ‘-c’, ‘sh run-start.sh’ ]
      11 silly lifecycle magicmirror@2.9.0~start: Returned: code: 1 signal: null
      12 info lifecycle magicmirror@2.9.0~start: Failed to exec start script
      13 verbose stack Error: magicmirror@2.9.0 start: sh run-start.sh
      13 verbose stack Exit status 1
      13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
      13 verbose stack at EventEmitter.emit (events.js:189:13)
      13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
      13 verbose stack at ChildProcess.emit (events.js:189:13)
      13 verbose stack at maybeClose (internal/child_process.js:970:16)
      13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
      14 verbose pkgid magicmirror@2.9.0
      15 verbose cwd /home/pi/MagicMirror
      16 verbose Linux 4.19.75-v7+
      17 verbose argv “/usr/bin/node” “/usr/local/bin/npm” “start”
      18 verbose node v10.15.2
      19 verbose npm v6.12.0
      20 error code ELIFECYCLE
      21 error errno 1
      22 error magicmirror@2.9.0 start: sh run-start.sh
      22 error Exit status 1
      23 error Failed at the magicmirror@2.9.0 start script.
      23 error This is probably not a problem with npm. There is likely additional logging output above.
      24 verbose exit [ 1, true ]

      any suggestions?

      posted in Troubleshooting
      M
      mrdenmark
    • simple event module

      i’m looking for a module that may already exist that tells my boys whose turn it is to empty the dishwasher,it just changes every 24 hours to say son1’s turn or son2’s turn,currently i have the events showing in the calender but it makes it quite cluttered.
      any suggestions on a module that can accomplish this

      posted in Requests
      M
      mrdenmark
    • RE: updated installer script available for testing

      new sd card-works first time-thanks again for your time and effort.

      posted in Troubleshooting
      M
      mrdenmark
    • RE: MMM-Sunrise-Sunset

      worked,cheers!

      posted in Utilities
      M
      mrdenmark
    • RE: updated installer script available for testing

      i’ll see if i can dig out a spare one and try again,thanks again for your assistance!

      posted in Troubleshooting
      M
      mrdenmark
    • RE: updated installer script available for testing

      debug-

      0 info it worked if it ends with ok
      1 verbose cli [ ‘/usr/local/bin/node’, ‘/usr/local/bin/npm’, ‘start’ ]
      2 info using npm@6.12.0
      3 info using node@v12.13.0
      4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
      5 info lifecycle magicmirror@2.9.0~prestart: magicmirror@2.9.0
      6 info lifecycle magicmirror@2.9.0~start: magicmirror@2.9.0
      7 verbose lifecycle magicmirror@2.9.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle magicmirror@2.9.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
      9 verbose lifecycle magicmirror@2.9.0~start: CWD: /home/pi/MagicMirror
      10 silly lifecycle magicmirror@2.9.0~start: Args: [ ‘-c’, ‘sh run-start.sh’ ]
      11 silly lifecycle magicmirror@2.9.0~start: Returned: code: 1 signal: null
      12 info lifecycle magicmirror@2.9.0~start: Failed to exec start script
      13 verbose stack Error: magicmirror@2.9.0 start: sh run-start.sh
      13 verbose stack Exit status 1
      13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
      13 verbose stack at EventEmitter.emit (events.js:210:5)
      13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
      13 verbose stack at ChildProcess.emit (events.js:210:5)
      13 verbose stack at maybeClose (internal/child_process.js:1021:16)
      13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
      14 verbose pkgid magicmirror@2.9.0
      15 verbose cwd /home/pi/MagicMirror
      16 verbose Linux 4.19.75-v7+
      17 verbose argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”
      18 verbose node v12.13.0
      19 verbose npm v6.12.0
      20 error code ELIFECYCLE
      21 error errno 1
      22 error magicmirror@2.9.0 start: sh run-start.sh
      22 error Exit status 1
      23 error Failed at the magicmirror@2.9.0 start script.
      23 error This is probably not a problem with npm. There is likely additional logging output above.
      24 verbose exit [ 1, true ]

      posted in Troubleshooting
      M
      mrdenmark
    • RE: updated installer script available for testing

      still no luck-
      did i run the commands in the correct folder?

      pi@raspberrypi:~/MagicMirror $ sudo npm i -g npm
      /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
      /usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js

      • npm@6.12.0
        updated 1 package in 252.773s
        pi@raspberrypi:~/MagicMirror $ rm -rf node_modules
        pi@raspberrypi:~/MagicMirror $ npm install
        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.

      electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
      node ./download-chromedriver.js

      internal/modules/cjs/loader.js:797
      throw err;
      ^

      Error: Cannot find module ‘ms’
      Require stack:

      • /home/pi/MagicMirror/node_modules/debug/src/debug.js
      • /home/pi/MagicMirror/node_modules/debug/src/node.js
      • /home/pi/MagicMirror/node_modules/debug/src/index.js
      • /home/pi/MagicMirror/node_modules/electron-chromedriver/node_modules/electron-download/lib/index.js
      • /home/pi/MagicMirror/node_modules/electron-chromedriver/download-chromedriver.js
        at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
        at Function.Module._load (internal/modules/cjs/loader.js:687:27)
        at Module.require (internal/modules/cjs/loader.js:849:19)
        at require (internal/modules/cjs/helpers.js:74:18)
        at Object. (/home/pi/MagicMirror/node_modules/debug/src/debug.js:14:20)
        at Module._compile (internal/modules/cjs/loader.js:956:30)
        at Object.Module._extensions…js (internal/modules/cjs/loader.js:973:10)
        at Module.load (internal/modules/cjs/loader.js:812:32)
        at Function.Module._load (internal/modules/cjs/loader.js:724:14)
        at Module.require (internal/modules/cjs/loader.js:849:19) {
        code: ‘MODULE_NOT_FOUND’,
        requireStack: [
        ‘/home/pi/MagicMirror/node_modules/debug/src/debug.js’,
        ‘/home/pi/MagicMirror/node_modules/debug/src/node.js’,
        ‘/home/pi/MagicMirror/node_modules/debug/src/index.js’,
        ‘/home/pi/MagicMirror/node_modules/electron-chromedriver/node_modules/electron-download/lib/index.js’,
        ‘/home/pi/MagicMirror/node_modules/electron-chromedriver/download-chromedriver.js’
        ]
        }
        npm WARN acorn-jsx@5.1.0 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.

      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! electron-chromedriver@1.8.0 install: node ./download-chromedriver.js
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the electron-chromedriver@1.8.0 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2019-10-26T18_37_05_007Z-debug.log
      pi@raspberrypi:~/MagicMirror $ npm start

      magicmirror@2.9.0 start /home/pi/MagicMirror
      sh run-start.sh

      /home/pi/MagicMirror/node_modules/electron/index.js:14
      throw new Error(‘Electron failed to install correctly, please delete node_modules/electron and try installing again’)
      ^

      Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
      at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11)
      at Object. (/home/pi/MagicMirror/node_modules/electron/index.js:18:18)
      at Module._compile (internal/modules/cjs/loader.js:956:30)
      at Object.Module._extensions…js (internal/modules/cjs/loader.js:973:10)
      at Module.load (internal/modules/cjs/loader.js:812:32)
      at Function.Module._load (internal/modules/cjs/loader.js:724:14)
      at Module.require (internal/modules/cjs/loader.js:849:19)
      at require (internal/modules/cjs/helpers.js:74:18)
      at Object. (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)
      at Module._compile (internal/modules/cjs/loader.js:956:30)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.9.0 start: sh run-start.sh
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.9.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2019-10-26T18_42_43_684Z-debug.log
      pi@raspberrypi:~/MagicMirror $

      posted in Troubleshooting
      M
      mrdenmark
    • 1 / 1