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

I have been trying to load the skeleton of express with npm install express. It outputs the following line:

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

  • How to load private git repository as package at azure website?
  • How to organize separate client and server repositories for both development and deployment?
  • openshift nodeJS app - git up to date/server running without errors but I still see welcome page
  • Locally-installed modules in node.js
  • Using nodes git-rev on Heroku
  • MEAN Project - Organization
  • What should I do in order to load the template ejs and css engine automatically?

  • VIM for Windows - What do I type to save and exit from a file?
  • Failure to push to remote repo in Git
  • Find date for not dated commit?
  • In what instance would git cherry-pick be needed instead of git merge?
  • Phabricator: how to make arc diff ignore untracked files and how to edit reviewers
  • “Updates were rejected because the tag already exists” when attempting to push in SourceTree
  • One Solution collect form web for “npm notice created a lockfile as package-lock.json. You should commit this file”

    Yes. You should commit it.

    This file is intended to be committed into source repositories

    You can read more about what it is/what it does here:

    package-lock.json is automatically generated for any operations where npm modifies either the node_modules tree, or package.json. It describes the exact tree that was generated, such that subsequent installs are able to generate identical trees, regardless of intermediate dependency updates.

    Git Baby is a git and github fan, let's start git clone.