• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Some help for those on windows machines

Scheduled Pinned Locked Moved Troubleshooting
tutorial
3 Posts 2 Posters 696 Views 2 Watching
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.
  • M Offline
    michaeldun
    last edited by Mar 1, 2021, 7:00 PM

    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 Mar 1, 2021, 8:09 PM Reply Quote 1
    • S Away
      sdetweil @michaeldun
      last edited by Mar 1, 2021, 8:09 PM

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

      Sam on discord

      thats me… my signature here is Sam

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Mar 3, 2021, 12:06 PM Reply Quote 1
      • M Offline
        michaeldun @sdetweil
        last edited by Mar 3, 2021, 12:06 PM

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

        Michael

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          2/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy