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.

    What to do with package-lock.json

    Scheduled Pinned Locked Moved Troubleshooting
    2 Posts 2 Posters 342 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.
    • E Offline
      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?

      BKeyportB 1 Reply Last reply Reply Quote 0
      • BKeyportB Offline
        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 Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy