• 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 577.9k 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.
  • O Offline
    OldShaterhan
    last edited by Jan 20, 2020, 5:07 PM

    For me setup running MagicMirror on Windows 10 worked by:

    • cloning the repository
    • then edit package.json by changing following line:
      "scripts": {
        "start": "./run-start.sh",
    

    to:

      "scripts": {
        "start": "bash ./run-start.sh",
    

    Simple change, works in every location on my PC.

    B 1 Reply Last reply Jul 7, 2020, 6:12 PM Reply Quote 0
    • J Offline
      jagdambasoft
      last edited by Feb 25, 2020, 6:04 AM

      $ npm start

      magicmirror@2.10.1 start C:\Users\Office\MagicMirror
      ./run-start.sh

      ‘.’ 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.10.1 start: ./run-start.sh
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.10.1 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\Office\AppData\Roaming\npm-cache_logs\2020-02-25T06_03_03_308Z-debug.log
      What Will I DO

      J S 2 Replies Last reply Feb 25, 2020, 6:31 AM Reply Quote 0
      • J Offline
        jagdambasoft @jagdambasoft
        last edited by Feb 25, 2020, 6:31 AM

        @jagdambasoft as above i post an error
        Now in package.json change a line under scripts

            "start": "./run-start.sh",
        to
            "start": "run-start.sh",
        
        1 Reply Last reply Reply Quote 0
        • A Offline
          aab142
          last edited by Feb 29, 2020, 1:44 AM

          I’m using Windows 10 and got the previous message as well. Changing to “run-start.sh” just opens the file with my text editor. I’m missing something.

          S 2 Replies Last reply Mar 11, 2020, 7:36 PM Reply Quote 0
          • R Offline
            roccodicarlo
            last edited by Mar 11, 2020, 7:30 PM

            I am getting errors when executing NPM install

            $ npm install
            npm ERR! code EPROTO
            npm ERR! errno EPROTO
            npm ERR! request to https://registry.npmjs.org/feedme failed, reason: write EPROTO 15828:error:14094419:SSL routines:ssl3_read_bytes:tlsv1 alert access denied:c:\ws\deps\openssl\openssl\ssl\record\rec_layer_s3.c:1544:SSL alert number 49
            npm ERR!

            npm ERR! A complete log of this run can be found in:
            npm ERR! C:\Users\dicarlro\AppData\Roaming\npm-cache_logs\2020-03-11T19_20_19_606Z-debug.log

            Does this require Adminstrator login…I am not logged in as administrator

            1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @jagdambasoft
              last edited by Mar 11, 2020, 7:34 PM

              @jagdambasoft try the results of the post just before yours

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @aab142
                last edited by Mar 11, 2020, 7:36 PM

                @aab142 windows … ugh… the script needs access to bash but doesn’t understand ./

                so remove the ./

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dwburger
                  last edited by Mar 17, 2020, 11:25 PM

                  I’ve started this installation process from 3 years ago on an old Acer laptop running Windows 10. It’s installing MM2 right now. Just wondering…have the walkthrough steps/commands changed in the intervening 3 years in any way that I need to know? I scanned the 85 posts and didn’t see any, but I could have missed it/them. Thanks! And, I’m really glad this topic is still alive!

                  1 Reply Last reply Reply Quote 0
                  • S Away
                    sdetweil @aab142
                    last edited by Mar 17, 2020, 11:44 PM

                    @aab142 u need to change the startstring to

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

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    D 1 Reply Last reply Mar 17, 2020, 11:45 PM Reply Quote 0
                    • D Offline
                      dwburger @sdetweil
                      last edited by Mar 17, 2020, 11:45 PM

                      @sdetweil Perfect timing…thanks! I was trying “npm start” and “npm serveronly” with no luck. I’ll give it a go.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 7
                      • 8
                      • 9
                      • 10
                      • 11
                      • 32
                      • 33
                      • 9 / 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