what happends when you delete package-lock.json code example
Example 1: delete package-lock.json command
rm package-lock.json
Example 2: remove package-lock.json from commit
# add it to the .gitignore and remove the file using the command as follow:
git rm --cached package-lock.json