• 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.

Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10

Scheduled Pinned Locked Moved Troubleshooting
324 Posts 55 Posters 743.3k Views 59 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.
  • S Offline
    sdetweil @Uwe Kretsen
    last edited by sdetweil Apr 13, 2021, 4:04 PM Nov 14, 2020, 3:37 PM

    @Uwe-Kretsen do not install under mingw, just open a command prompt/ powershell prompt and do the git clone/npm install

    u need git of course and node/npm (google how to install)

    then u need to do some more steps as the setup is for linux

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

    then edit package.json and change the start line
    from

    		"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
    

    to

    		"start": "node_modules/.bin/electron js/electron.js",
    

    then npm start works as expected

    also, you must manually copy the MagicMirror/config/config.js.sample to the initial config.js
    also create the empty MagicMirror/css/custom.css

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    U B A M 4 Replies Last reply Nov 14, 2020, 6:57 PM Reply Quote 2
    • U Offline
      Uwe Kretsen @sdetweil
      last edited by Nov 14, 2020, 6:57 PM

      @sdetweil Dear Sam, thank you for the help - it start to work. I am really grateful fro support.
      Now I will spend some days or weeks :-) to find out how to add /remove extra modules. hope to do my MagicMirror project to the end.
      once again thank you
      and stay healthy
      BR Uwe

      S 1 Reply Last reply Nov 14, 2020, 7:06 PM Reply Quote 0
      • S Offline
        sdetweil @Uwe Kretsen
        last edited by Nov 14, 2020, 7:06 PM

        @Uwe-Kretsen see the links in my signature , they will help you

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • B Offline
          bhumin
          last edited by Dec 16, 2020, 5:14 AM

          @Mykle1 said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:

          git clone https://github.com/MichMich/MagicMirror.git

          following error arrives when start

          magicmirror@2.13.0 start C:\Users\bhumi\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.13.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.13.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! C:\Users\bhumi\AppData\Roaming\npm-cache_logs\2020-12-16T05_04_47_316Z-debug.log

          1 Reply Last reply Reply Quote 0
          • B Offline
            bhumin @sdetweil
            last edited by Dec 16, 2020, 9:02 AM

            @sdetweil thanks man

            1 Reply Last reply Reply Quote 0
            • H Offline
              Humez
              last edited by Feb 10, 2021, 10:55 PM

              Thank you for your tutorial! I’m a absolute beginner. I followed the steps above but when I try to start magicmirror I get the below message:
              magicmirror@2.14.0 start C:\Users\1234\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.

              S 1 Reply Last reply Feb 10, 2021, 11:00 PM Reply Quote 0
              • S Offline
                sdetweil @Humez
                last edited by Feb 10, 2021, 11:00 PM

                @humez read and follow the steps here

                https://forum.magicmirror.builders/topic/4089/complete-walkthrough-install-magicmirror-on-a-pc-windows-7-10/141?_=1612997713585

                u have not edited package.json as required

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • K Offline
                  kithaam
                  last edited by Mar 25, 2021, 2:03 PM

                  Hi Please help install Magic Mirror on my PC please assist with below

                  http://localhost:8080 is just a black screen No date and Time on

                  !f250c354-bbc7-411e-8653-0772e8acc696-image.png

                  S 1 Reply Last reply Mar 25, 2021, 2:04 PM Reply Quote 0
                  • S Offline
                    sdetweil @kithaam
                    last edited by Mar 25, 2021, 2:04 PM

                    @kithaam yes, some missing steps.

                    do

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

                    restart mm

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    K G 3 Replies Last reply Mar 25, 2021, 2:28 PM Reply Quote 0
                    • K Offline
                      kithaam @sdetweil
                      last edited by Mar 25, 2021, 2:28 PM

                      @sdetweil Thank you its working

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 13
                      • 14
                      • 15
                      • 16
                      • 17
                      • 32
                      • 33
                      • 15 / 33
                      • First post
                        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