Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    I’ve messed up my magic mirror

    Troubleshooting
    2
    9
    47
    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
      richardh151 last edited by

      Help needed as I have got my mirror into a state I can not resolve myself. The more I mess the worse it gets and all I wanted to do was update the version.

      The error messages are below. Please can someone specify exactly what I need to do as I’m lost and I’ve searched through the forum for the last 2 days and cannot fix it myself.

      package-lock.json: needs merge
      package-lock.json: needs merge
      package-lock.json: unmerged (15a6644aa9176c5f2eca406eee6408b0b09af316)
      package-lock.json: unmerged (0eae738f8fb92056a77e25451c0f257056693a24)
      package-lock.json: unmerged (01c38c4d386176495fbc2987c69cbbbc575e3e69)
      fatal: git-write-tree: error building trees
      Cannot save the current index state

      Thanks in advance for any support.

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

        @richardh151 google search says

        git checkout --conflict=merge – path/to/file

        so

        git checkout --conflict=merge – package-lock.json
        | edit, fix filename typo

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

          @sdetweil

          I just tried that but it states fatal: unknown style “merge-path/to/file”

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

            @richardh151 the 1st one is the instructions on how to do it, the second one is the one you need

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

              @richardh151 said in I’ve messed up my magic mirror:

              merge-path/to/file

              also, don’t remove the spaces, they are important

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

                @sdetweil
                It states I need to resolve my current index first.

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

                  @richardh151 i don’t know for sure

                  try

                  git reset -–merge

                  ps. I am just google searching on the error u got…

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

                    @sdetweil Thanks Sam for your support. When I eventually resolved one error I had others appear so I completely re-installed magic mirror and now all is good

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

                      @richardh151 great… thanks for the feedback, glad u got it working

                      just for info, did you use the automated installer?
                      https://github.com/sdetweil/MagicMirror_scripts

                      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