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.

    package-lock.json How to commit?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 1.3k 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.
    • M Offline
      MagicMap
      last edited by

      I have been installing modules on my MagicMirror and slipped up somewhere because whenever I go to install or update a module, I receive the following message:

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

      Many folders have the package-lock.json file, even /MagicMirror/ and /MagicMirror/modules/

      What did I do to cause this? Although the mirror still works, this message is annoying.

      What can I do to fix it? Thanks a lot.

      1 Reply Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer
        last edited by

        Same issue, haven’t seen that before.
        Anyone an idea?

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        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