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 2.5k 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
                        • 1
                        • 2
                        • 1 / 2
                        • 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