delete package-lock.json and reinstall code example Example: delete package-lock.json command rm package-lock.json