MagicMirror Forum

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

    What to do with package-lock.json

    Troubleshooting
    2
    2
    133
    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.
    • E
      EveningStarNM last edited by

      When I use npm to control MagicMirror2, commands frequently return the following message:

      npm notice created a lockfile as package-lock.json. You should commit this file.
      

      I’m writing some documentation to supplement what is available, and I would like to know more about how MagicMirror2 gets updated. The developers of npm recommend committing this file, as do developers of other products that use npm. See the npm documentation.

      Do the developers of MagicMirror2 recommend deleting it or committing it?

      BKeyport 1 Reply Last reply Reply Quote 0
      • BKeyport
        BKeyport Module Developer @EveningStarNM last edited by

        @EveningStarNM Ignore it, if an update won’t happen because of it, delete it then.

        The "E" in "Javascript" stands for "Easy"

        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