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 288.2k 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.
    • M Offline
      mrdenmark
      last edited by

      debug-

      0 info it worked if it ends with ok
      1 verbose cli [ ‘/usr/local/bin/node’, ‘/usr/local/bin/npm’, ‘start’ ]
      2 info using npm@6.12.0
      3 info using node@v12.13.0
      4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
      5 info lifecycle magicmirror@2.9.0~prestart: magicmirror@2.9.0
      6 info lifecycle magicmirror@2.9.0~start: magicmirror@2.9.0
      7 verbose lifecycle magicmirror@2.9.0~start: unsafe-perm in lifecycle true
      8 verbose lifecycle magicmirror@2.9.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
      9 verbose lifecycle magicmirror@2.9.0~start: CWD: /home/pi/MagicMirror
      10 silly lifecycle magicmirror@2.9.0~start: Args: [ ‘-c’, ‘sh run-start.sh’ ]
      11 silly lifecycle magicmirror@2.9.0~start: Returned: code: 1 signal: null
      12 info lifecycle magicmirror@2.9.0~start: Failed to exec start script
      13 verbose stack Error: magicmirror@2.9.0 start: sh run-start.sh
      13 verbose stack Exit status 1
      13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
      13 verbose stack at EventEmitter.emit (events.js:210:5)
      13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
      13 verbose stack at ChildProcess.emit (events.js:210:5)
      13 verbose stack at maybeClose (internal/child_process.js:1021:16)
      13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
      14 verbose pkgid magicmirror@2.9.0
      15 verbose cwd /home/pi/MagicMirror
      16 verbose Linux 4.19.75-v7+
      17 verbose argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”
      18 verbose node v12.13.0
      19 verbose npm v6.12.0
      20 error code ELIFECYCLE
      21 error errno 1
      22 error magicmirror@2.9.0 start: sh run-start.sh
      22 error Exit status 1
      23 error Failed at the magicmirror@2.9.0 start script.
      23 error This is probably not a problem with npm. There is likely additional logging output above.
      24 verbose exit [ 1, true ]

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @mrdenmark
        last edited by

        @mrdenmark wow. I can only think there is something wrong with your memory card. You are getting garbage results.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          mrdenmark
          last edited by

          i’ll see if i can dig out a spare one and try again,thanks again for your assistance!

          1 Reply Last reply Reply Quote 0
          • M Offline
            mrdenmark
            last edited by

            new sd card-works first time-thanks again for your time and effort.

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @mrdenmark
              last edited by

              @mrdenmark outstanding! Thx for the feedback and patience

              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

                I have a Raspberry Pi Zero W and have installed a fresh image of Raspbian Jesse 20017-07-05. Rebooted. Configured WiFi. Changed default password. Set Time , Timezone, Locale. Rebooted.

                Then opened a terminal window and copied and pasted the command in the first post to install MM2. Install progressed and I recieved the message Cloning MagicMirror Done! Then I received an error “Unable to install dependencies” . I am using an 8 Gig MicroSD card.
                I changed directories to MagicMirror to look for the install.log file, but I cannot find one to upload.

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @BD0G
                  last edited by

                  @BD0G said in Anyone want to try updated installer...:

                  Then I received an error “Unable to install dependencies” .

                  install.log is in /home/pi the messages from the installer say that (at the beginning)
                  cause the MagicMirror folder doesn’t exist yet

                  one other user has experienced this, (mrdenmark, he posted a bunch right before you), and it was the memory card…

                  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

                    I have ordered a new Micro SD card -16 Gig Class 10 card. That should be large enough and fast enough I imagine. I will repeat the steps to image and use your installer once it arrives. 2 Days from now (Gotta love Amazon Prime).

                    I will let you know how it goes. Thanks for the information.

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

                      New Micro SD Card Arrived. I imaged it with Raspian Jesse and attempted the install of Magic Mirror from the command posted in the first post. Same Error.

                      Unable to install dependencies.

                      Here is a link to the install.log file in my dropbox account.

                      https://www.dropbox.com/s/rqhsgvapviqpzrn/install.log?dl=0

                      I would appreciate some assistance with troubleshooting this issue.

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @BD0G
                        last edited by

                        @BD0G don’t see the link

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          @sdetweil
                          I was having an issue uploading , but finally got it. I modified my post above to include it.

                          S 2 Replies Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @BD0G
                            last edited by

                            @BD0G that is wild… how did that happen

                            installed Nodejs v0.10.29

                            ok, working on it…

                            standby

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @BD0G
                              last edited by sdetweil

                              @BD0G ok, give it a try, same installer script command

                              seems they pulled ANY install support for node on armv6l devices… have to do it manually…

                              now works good on my pi 0 w

                              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

                                So I discovered a bug! Yipeee! I will run the installer again from the first post in this thread and post results!

                                I am making the assumption that I do not have to delete the Magic Mirror directory and sub -directories so I will just install over them. Its a good way to enjoy the morning coffee. Thanks for putting in effort!

                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @BD0G
                                  last edited by sdetweil

                                  @BD0G no… the installer wants to start fresh… just rename the folder out of the way…

                                  you can copy any things you added from old to new

                                  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

                                    It looks like the script realizes that Magic Mirror is already installed and presents a message on screen noting that. I am going to delete the Magic Mirror Directory and sub-directories and run the script again. Pretty slick!

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @BD0G
                                      last edited by sdetweil

                                      @BD0G yes, correct

                                      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 BD0G

                                        I ran it again and same error. Unable to install dependencies. It indicates CXXABI_1.3.9 not found and GLIBCXX_3.4.21 not found

                                        Here is the new log file in my dropbox

                                        https://www.dropbox.com/s/lsplrd6lytr96fn/install.log?dl=0

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @BD0G
                                          last edited by

                                          @BD0G cool, another unexpected thing… node -v returned nothing!

                                          try again please

                                          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

                                            I’m on it!

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 10
                                            • 11
                                            • 4 / 11
                                            • 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