how to delete a file from package-lock.json and package.json downloaded using npm code example Example: delete package-lock.json command rm package-lock.json