npm install keeps rewriting the package-lock.json file. Why does it keep doing that?
Asked a year ago
Every time I run the npm install command, the package-lock.json removes many of the dependencies I've already installed. However, if I delete the node_modules and run the command again, the installation proceeds as expected. What's the problem?
Please follow our Community Guidelines