title: Node.JS, Sequelize: Package exports for 'C:\(my project folder)\node_modules\sequelize\node_modules\uuid' do not define a valid '.' target
body: <p>I'm getting this error after installing <a href="https://sequelize.org/v5/manual/getting-started.html" rel="nofollow noreferrer">Sequelize</a> library:</p>
  <pre><code>Error: Package exports for 'C:\(my project folder)\node_modules\sequelize\node_modules\uuid' do not define a valid '.' target
  at resolveExportsTarget (internal/modules/cjs/loader.js:545:13)
  at applyExports (internal/modules/cjs/loader.js:459:14)
  at resolveExports (internal/modules/cjs/loader.js:508:12)
  at Function.Module._findPath (internal/modules/cjs/loader.js:577:20)
  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:879:27)
  at Function.Module._load (internal/modules/cjs/loader.js:785:27)
  at Module.require (internal/modules/cjs/loader.js:956:19)
  at require (internal/modules/cjs/helpers.js:74:18)
  at Object.&lt;anonymous&gt; (C:\(my project folder)\node_modules\sequelize\lib\utils.js:7:16)
  at Module._compile (internal/modules/cjs/loader.js:1063:30)
  </code></pre>
  <p>I went to node_modules\uuid\index.js file and there's only one variable in module.exports:</p>
  <pre><code>var v1 = require('./v1');
  var v4 = require('./v4');
  
  var uuid = v4;
  uuid.v1 = v1;
  uuid.v4 = v4;
  
  module.exports = uuid;
  </code></pre>
  <p>And also in node_modules\sequelize\lib\utils.js, where this error seems to be from, I can see such code (lines 7,8). But I don't know why it fails.</p>
  <pre><code>const uuidv1 = require('uuid').v1;
  const uuidv4 = require('uuid').v4;
  </code></pre>
  <p>So, I'm pretty confused what can I do to fix this problem.
  Node version is v14.6.0 (just upgraded from v13 in hope that would fix the problem)</p>