`npm install` modifies `package-lock`! (changes resolved url protocol!) #20106
I'm opening this issue because:
What's going wrong?
How can the CLI team reproduce the problem?
I experienced this issue for npm 5.8.0, node v8.9.4. (I've just upgraded npm to resolve the integrity issue, but then the resolved url's began changing randomly).
The problem has been solved after performing the steps from #16938 (comment) :
I hope this may help to someone.