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