• 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 582.8k 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 @swvalenti
    last edited by Mar 21, 2022, 10:10 PM

    @swvalenti and what is the message?

    what npm version are u running?

    npm -v

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S 1 Reply Last reply Mar 21, 2022, 10:12 PM Reply Quote 0
    • S Offline
      swvalenti Project Sponsor @sdetweil
      last edited by Mar 21, 2022, 10:12 PM

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

      @swvalenti and what is the message?

      what npm version are u running?

      npm -v

      this is what i get and below is version

      C:\Users\Svale\MagicMirror>npm start
      
      > magicmirror@2.18.0 start C:\Users\Svale\MagicMirror
      > electron js\electron.js
      
      'electron' 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.18.0 start: `electron js\electron.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.18.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\Svale\AppData\Roaming\npm-cache\_logs\2022-03-21T22_10_23_329Z-debug.log
      
      C:\Users\Svale\MagicMirror>npm -v
      6.14.0
      
      C:\Users\Svale\MagicMirror>
      
      S 1 Reply Last reply Mar 21, 2022, 10:14 PM Reply Quote 0
      • S Offline
        sdetweil @swvalenti
        last edited by sdetweil Mar 21, 2022, 10:16 PM Mar 21, 2022, 10:14 PM

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

        electron js\electron.js

        u still have it wrong

        “node_modules/.bin/electron electron.js”

        electron is not in the path, so you have to give it the path to the executable

        once again different versions of node and npm require slightly different solutions…
        this is not an MM problem… they keep messing it up (in my opinion)

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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Mar 21, 2022, 10:21 PM Reply Quote 0
        • S Offline
          swvalenti Project Sponsor @sdetweil
          last edited by Mar 21, 2022, 10:21 PM

          @sdetweil oh well I give up I tried all the steps, thanks for all the help and patience

          1 Reply Last reply Reply Quote 0
          • S Offline
            swvalenti Project Sponsor
            last edited by swvalenti Mar 21, 2022, 11:26 PM Mar 21, 2022, 11:25 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S Offline
              swvalenti Project Sponsor
              last edited by Mar 21, 2022, 11:37 PM

              @sdetweil the only thing that isn’t working now is when I run npm init-y in each module folder the module in the dev window is still asking for replace instead of request

              S 2 Replies Last reply Mar 21, 2022, 11:55 PM Reply Quote -1
              • S Offline
                sdetweil @swvalenti
                last edited by Mar 21, 2022, 11:55 PM

                @swvalenti you don’t run npm init unless u need to. only if u need to install a library that mm doesn’t reference anymore

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @swvalenti
                  last edited by Mar 21, 2022, 11:56 PM

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

                  is still asking for replace instead of request

                  what?

                  words not clear

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Mar 21, 2022, 11:57 PM Reply Quote 0
                  • S Offline
                    swvalenti Project Sponsor @sdetweil
                    last edited by Mar 21, 2022, 11:57 PM

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

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

                    is still asking for replace instead of request

                    what?

                    words not clear

                    Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
                        at cmpVersions (module.js:525)
                        at Function.Module.register (module.js:502)
                        at MMM-OpenWeatherForecast.js:41
                    

                    I did what you said but still get this error for some reason

                    S 1 Reply Last reply Mar 22, 2022, 12:00 AM Reply Quote 0
                    • S Offline
                      sdetweil @swvalenti
                      last edited by Mar 22, 2022, 12:00 AM

                      @swvalenti ok, sometimes this is because of a typo in the config position for the module

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 26
                      • 27
                      • 28
                      • 29
                      • 30
                      • 31
                      • 32
                      • 33
                      • 28 / 33
                      28 / 33
                      • First post
                        272/324
                        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