title: npm install overrides existing package-lock.json and breaks Modal
body: <p>I am seeing a weird behaviour with <code>package-lock.json</code>. Once I remove node_modules and <code>package-lock.json</code> and then build them, my application works as expected. When I do a <code>npm install</code> again with just built <code>package-lock.json</code> existing, the file entirely changes removing lot of packages from the tree. When I run the server now, certain <code>Modal</code> (from <code>react-bootstrap</code> ) components don't work properly. I don't understand why this file should change and end up installing different version of dependencies which is breaking the code. Am I doing something wrong with regards to <code>package-lock.json</code>?</p>
  
  <p>Every time I remove both node_modules and this file and build I don't face any issue. Only when this file is already present and I do <code>npm install</code> I run into issues.</p>