Fix : npm notice created a lockfile as package-lock.json. you should commit this file

The Content Of package.json

{
  "name": "belajar_laravel",
  "version": "1.0.0",
  "description": "Balajar Laravel dan Vue.js",
  "main": "webpack.mix.js",
  "directories": {
    "test": "tests"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Fahmi Basya",
  "license": "ISC"
}

Question:

How to fix this … ?

Answer:

Open your package.json and raise your version number from “1.0.0” to “1.0.1”

If this post is useful, please say “Alhamdulillah”

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *