title: Laravel composer install giving error "Your lock file does not contain a compatible set of packages please run composer update"
body: <p>I have been writing laravel code for quite sometime. Currently, I tried cloning a project from github and editing locally. I installed composer in my project directory but a vendor folder was not included, I tried to run <code>composer install</code> but I gives me this error</p>
  <pre class="lang-none prettyprint-override"><code>Your lock file does not contain a compatible set of packages. Please run composer update
  </code></pre>
  <p>How do I resolve this?</p>
  <p>Note: I have tried running <code>composer update</code> on previous clones and that didn't work.</p>