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.

    updated installer script available for testing

    Scheduled Pinned Locked Moved Solved Troubleshooting
    211 Posts 18 Posters 254.6k Views 19 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 @BD0G
      last edited by

      @BD0G cool, thanks…

      as for config

      each module is

      {
         module:   "name",
         position: "string",
         config : {
            something: "string",
            other_thing: number,
            another: true 
         }
      }
      

      not that each line has a trailing comma
      number/booleans don’t need quotes,
      everything else does

      single or double doesn’t matter, just have to match on a line

      if troubles
      do

      npm run config:check
      

      first 1st error, (usually reported on the line AFTER the error )
      rerun, etc

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • B Offline
        BD0G
        last edited by

        Thanks ! Thats the process I have been using . Painstaking. Small details always cause errors. Even if I cut and paste right from the github repository using the authors code.

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

          @BD0G yeh, sometimes/many times they don’t check their doc …

          not THAT painstaking

          thing on the left of the colon doesn’t need quotes, only words on the right

          if something follows something else, the something else better have a trailing comma

          I may have found a better way to do the node/npm setup… testing now

          it allows node 10 on jesse…

          thanks for the trouble report so I could think about the problem

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            magicmirrorpi4 @sdetweil
            last edited by

            @sdetweil I entered this to LXTerminal. Whats the next step i need to do?

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

              @magicmirrorpi4 u cut/paste the bash-------- )" string into the terminal and hit enter

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • B Offline
                bdream
                last edited by

                Just got Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10 run under Windows 7.

                This version of MM is version 2.6.0. I planned to run updatescript from @sdetweil but failed. Have you any idea?

                –
                cheers, bdream

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

                  @bdream

                  I planned to run updatescript from @sdetweil but failed.

                  what does ‘planned’ mean?
                  if you DID run my upgrade-script,
                  can u show me the ~/MagicMirror/installers/upgrade.log

                  thanks

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bdream
                    last edited by bdream

                    @sdetweil umpf, yes I started the script but it doesn’t work. So it was a plan not a run :rolling_on_the_floor_laughing:

                    bdream@win7 MINGW64 ~/MagicMirror (master)
                    $ bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"
                    
                    $$\      $$\                     $$\           $$\      $$\ $$\                                          $$$$$$\
                    $$$\    $$$ |                    \__|          $$$\    $$$ |\__|                                        $$  __$$\
                    $$$$\  $$$$ | $$$$$$\   $$$$$$\  $$\  $$$$$$$\ $$$$\  $$$$ |$$\  $$$$$$\   $$$$$$\   $$$$$$\   $$$$$$\  \__/  $$ |
                    $$\$$\$$ $$ | \____$$\ $$  __$$\ $$ |$$  _____|$$\$$\$$ $$ |$$ |$$  __$$\ $$  __$$\ $$  __$$\ $$  __$$\  $$$$$$  |
                    $$ \$$$  $$ | $$$$$$$ |$$ /  $$ |$$ |$$ /      $$ \$$$  $$ |$$ |$$ |  \__|$$ |  \__|$$ /  $$ |$$ |  \__|$$  ____/
                    $$ |\$  /$$ |$$  __$$ |$$ |  $$ |$$ |$$ |      $$ |\$  /$$ |$$ |$$ |      $$ |      $$ |  $$ |$$ |      $$ |
                    $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ |      $$ |      \$$$$$$  |$$ |      $$$$$$$$\
                    \__|     \__| \_______| \____$$ |\__| \_______|\__|     \__|\__|\__|      \__|       \______/ \__|      \________|
                                           $$\   $$ |
                                           \$$$$$$  |
                                            \______/
                    
                    install log being saved to /c/Users/HikischB/install.log
                    this appears not to be a Raspberry Pi 2 or 3, do you want to continue installation (y/N)?y
                    Updating packages ...
                    bash: line 93: sudo: command not found
                    Update failed, carrying on installation ...
                    Installing helper tools ...
                    bash: line 99: sudo: command not found
                    
                    
                    

                    Seems there is an failure with sudo on my windows machine.

                    Do I need to run as admin for update GIT Bash as admin?

                    –
                    cheers, bdream

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

                      @bdream i don’t think it will run in the CYGWIN or MINW environments

                      you will have to do the manual install

                      see the instructions here https://github.com/MichMich/MagicMirror#manual-installation

                      this also requires sudo, to install nodejs
                      if you succeed, let me know what you did (step by step) and I will consider updating the installer

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        bdream
                        last edited by

                        @sdetweil looks like a new workingplace :dizzy_face:
                        I will hang it on for the next time and mark your comment for further usage.
                        1st try to follow the manual installation instruction failed and need more investigatin and understanding on my side

                        bdream@win7 MINGW64 ~ (master)
                        $ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                        bash: sudo: command not found
                        
                        

                        –
                        cheers, bdream

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 21
                        • 22
                        • 2 / 22
                        • 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