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