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

    Michael

    @michaeldun

    1
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    michaeldun Unfollow Follow

    Best posts made by michaeldun

    • Some help for those on windows machines

      This is more of a tutorial to help.

      When I was setting my MM on my computer, I did run into an issue. Which says the following:

      > magicmirror@2.14.0 start C:\Users\fredb\Downloads\MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      'DISPLAY' is not recognized as an internal or external command,
      operable program or batch file.
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.14.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.14.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      

      I sorted this with the following
      editing the package.json, change the “start” line and removing all the DISPLAY stuff so it starts “./node_modules”

      Then you have to do

      cd MagicMirror
      cd vendor
      npm install
      cd ..
      cd fonts
      npm install
      cd ..
      

      Then you can do npm start.

      Thanks Sam on discord for helping me.

      posted in Troubleshooting tutorial
      michaeldunM
      michaeldun

    Latest posts made by michaeldun

    • RE: Some help for those on windows machines

      @sdetweil Thanks! Just didn’t know which one was you, too many @ sams

      Michael

      posted in Troubleshooting
      michaeldunM
      michaeldun
    • Some help for those on windows machines

      This is more of a tutorial to help.

      When I was setting my MM on my computer, I did run into an issue. Which says the following:

      > magicmirror@2.14.0 start C:\Users\fredb\Downloads\MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      'DISPLAY' is not recognized as an internal or external command,
      operable program or batch file.
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.14.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.14.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      

      I sorted this with the following
      editing the package.json, change the “start” line and removing all the DISPLAY stuff so it starts “./node_modules”

      Then you have to do

      cd MagicMirror
      cd vendor
      npm install
      cd ..
      cd fonts
      npm install
      cd ..
      

      Then you can do npm start.

      Thanks Sam on discord for helping me.

      posted in Troubleshooting tutorial
      michaeldunM
      michaeldun