Usuń polecenie pakietu-lock.json
rm package-lock.json
raadu
rm package-lock.json
# add it to the .gitignore and remove the file using the command as follow:
git rm --cached package-lock.json