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