package-lock.json How to commit?



  • 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.


  • Project Sponsor

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