Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    Some help for those on windows machines

    Troubleshooting
    tutorial
    2
    3
    62
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • michaeldun
      michaeldun last edited by

      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.

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @michaeldun last edited by

        @michaeldun said in Some help for those on windows machines:

        Sam on discord

        thats me… my signature here is Sam

        michaeldun 1 Reply Last reply Reply Quote 0
        • michaeldun
          michaeldun @sdetweil last edited by

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

          Michael

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy