title: Used yarn to add cors but there is an error
body: <p>I am facing this issue:</p>
  
  <blockquote>
    <p>error An unexpected error occurred: "/home/vagrant/.cache/yarn/v1/npm-cors-2.8.4-2bd381f2eb201020105cd50ea59da63090694686/.yarn-metadata.json: Unexpected end of JSON input".</p>
  </blockquote>
  
  <p>A few things to note:</p>
  
  <ol>
  <li><p>During the installation of cors (<code>yarn add cors</code>), my laptop died on battery.</p></li>
  <li><p>The cors files are there in node modules but aren't listed in package.json.</p></li>
  <li><p>I recently switched from npm to yarn and operate within vagrant VM.</p></li>
  <li><p>Tried to delete files from node modules but id didn't make a difference</p></li>
  </ol>
  
  <p><code>yarn remove cors</code> gives this error:</p>
  
  <blockquote>
    <p>error This module isn't specified in a manifest.</p>
  </blockquote>