title: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './v4' is not defined by "exports"
body: <p>I got this error when using uuidv4.</p>
  <pre><code>Failure: Package subpath './v4' is not defined by &quot;exports&quot; in C:\Users\mycomp\Desktop\Programming\Javascript\Serverless\Serverless Framework\node_modules\uuid\package.json
  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './v4' is not defined by &quot;exports&quot; in C:\Users\mycomp\Desktop\Programming\Javascript\Serverless\Serverless Framework\node_modules\uuid\package.json
  </code></pre>
  <p>I already installed uuid and require it in my code</p>
  <pre><code>const uuidv4 = require('uuid/v4');
  </code></pre>
  <p>Here's the package.json</p>
  <pre><code>&quot;dependencies&quot;: {
    &quot;aws-sdk&quot;: &quot;^2.702.0&quot;,
    &quot;moment&quot;: &quot;^2.27.0&quot;,
    &quot;serverless-offline&quot;: &quot;^6.4.0&quot;,
    &quot;underscore&quot;: &quot;^1.10.2&quot;,
    &quot;uuid&quot;: &quot;^8.1.0&quot;
  }
  </code></pre>