title: What is the difference between npm install and npm run build?
body: <p>What is the difference between <code>npm install</code> and <code>npm run build</code>?</p>
  <p>I have noticed in my project that sometimes npm starts failing when <code>npm install</code> is performed, but, upon running <code>npm run build</code>, it works just fine.</p>
  <p>How do the inner workings of these two targets namely <code>install</code> and <code>run build</code> differ?</p>