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.

    Cannot restart my mirror for months

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 3 Posters 3.1k Views 3 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.
    • K Offline
      Kelsoh @richardh151
      last edited by

      @richardh151 said in Cannot restart my mirror for months:

      Unexpected token ‘/’ at 7:41

      Check your package.json file. Theres something wrong, probably at line 7.

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

        @richardh151

        npm ERR! node v6.11.0
        npm ERR! npm v3.10.10

        your node and npm are way down level

        we are currently requiring node 14 and npm 6

        if you use my MagicMirror upgrade script it will also upgrade node and npm

        see
        https://github.com/sdetweil/MagicMirror_scripts

        BUT the upgrade script only works if mm is installed in ~/MagicMirror

        a quick workaround would be to create a linked folder

        cd ~
        ln -s realpath MagicMirror
        

        where realpath for you is Documents/MagicMirrorJan2021

        u can delete the linked folder after the update

        note update is a 2 part process.
        1st is a test run to see if there will be issues
        2nd does the update,big u use the apply parm

        but it will upgrade node/npm on the 1st pass

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • R Offline
          richardh151
          last edited by

          I have tried your suggestions but it seems I’m struggling to update npm and node js versions. I continue to obtain an error message related to electron-chromedriver @13.0.0 install script.

          Does anyone have any suggestions, please ?

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @richardh151
            last edited by

            @richardh151

            do this

            sudo npm install n -g
            n install 14
            

            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 @richardh151
              last edited by

              @richardh151 what pi is this?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              R 3 Replies Last reply Reply Quote 0
              • R Offline
                richardh151
                last edited by

                @richardh151 Pi 3 Model B+

                1 Reply Last reply Reply Quote 0
                • R Offline
                  richardh151 @sdetweil
                  last edited by

                  @sdetweil does not work as my permission was denied ( code EACCES)

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    richardh151 @sdetweil
                    last edited by

                    @sdetweil I managed to update it finally. Now I just have a black screen to fix to show my modules, so it feels close 😁

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

                      @sdetweil now Iam back and fully operational again. A huge thanks to you 👍😊

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

                        @richardh151 my update script fixes the black screen problems too

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        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 / 1
                        • 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