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.

    Version 2.31.0 Error With Upgrade Scripts

    Scheduled Pinned Locked Moved Solved Troubleshooting
    5 Posts 2 Posters 367 Views 2 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.
    • A Offline
      atwist
      last edited by

      I used the upgrade script to update my MagicMirror to 2.31.0 from 2.30.0. It ran into an error and now MagicMirror won’t start.

      The upgrade log file shows

      Ver 2.30.0 and Ext3 modules loaded, install fix

      • _fix_clipping
        master
        updating MagicMirror runtime, please wait
        npm error code EACCES
        npm error syscall rename
        npm error path /home/twist/MagicMirror/node_modules/.ast-types-VPJXcxdi/node_modules/tslib/CopyrightNotice.txt

      and it continues with npm error.

      Any ideas how to fix this?

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

        @atwist eaccess denied sounds like you might have run
        one of the npm commands w sudo. (never do that)

        so to fix this you have to do it again to clean up

        cd ~/MagicMirror 
        sudo rm -rf node_modules
        cd fonts
        sudo rm - rf node_modules
        cd ../vendor 
        sudo rm -rf node_modules
        

        then run the upgrade script again with

        force 
        

        instead of

        apply 
        

        at the end

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

          @atwist can you tell me what you did?

          note that upgrade is a 2 step process

          test
          do

          show me the output of ~/MagicMirror/installers/upgrade.log

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

            @atwist eaccess denied sounds like you might have run
            one of the npm commands w sudo. (never do that)

            so to fix this you have to do it again to clean up

            cd ~/MagicMirror 
            sudo rm -rf node_modules
            cd fonts
            sudo rm - rf node_modules
            cd ../vendor 
            sudo rm -rf node_modules
            

            then run the upgrade script again with

            force 
            

            instead of

            apply 
            

            at the end

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • A Offline
              atwist
              last edited by

              I didn’t think i ran it with sudo but apparently i did. Thank you for your help!!

              I did try the test first and it didn’t show errors. But, you got it working!

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

                @atwist awesome!

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S sdetweil has marked this topic as solved on
                • 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