MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Error while updating.

    Troubleshooting
    3
    4
    281
    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.
    • R
      roycejp last edited by

      Hi,

      I’m trying to update my MagicMirror 2 using these commands:

      git pull && npm install
      

      But I get these error messages:

      Updating 5bf90ae..447c0bf
      error: Your local changes to the following files would be overwritten by merge:
              package-lock.json
              package.json
      Please commit your changes or stash them before you merge.
      Aborting
      
      

      Please advise. Thank you!

      -Royce

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

        @roycejp erase both files and repeat your command

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • cirdan
          cirdan last edited by

          Or do ```
          git stash

          Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

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

            @cirdan but don’t need to stash package-lock.json for sure

            Sam

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy