MagicMirror Forum

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

    MMM-PublicTransportBerlin: update wants to "commit" or "stash"

    Troubleshooting
    2
    3
    71
    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.
    • kai
      kai last edited by

      Hi there,
      today I wanted to update @Beh’s MMM-PublicTransportBerlin module (via “git pull” and “npm install”).
      The git pull says that it would change the file “package-lock.json”, and I should commit or stash my changes prior to the merge.
      I’ve never had a message like this during previous updates…

      Any hints appreciated. Thanks a lot.
      May the code be with you
      -kai

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

        @kai the package-lock.json can be erased before the git pull

        this message means the module has that file in it’s package and the one on your system is different. it US different because npm install updates it with version info of what was installed

        Sam

        Create a working config
        How to add modules

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

          @sdetweil Thank you very much!
          Update successful. ✅

          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