title: Cannot find module 'sequelize/types'
body: <p>anyone knows why i am getting this error
  this is my code</p>
  <pre><code>&quot;use strict&quot;;
  const { DataTypes } = require(&quot;sequelize/types&quot;);
  
  module.exports = {
    up: async (queryInterface, DataTypes) =&gt; {
      await queryInterface.createTable(&quot;dummytables&quot;, {
        id: {
          allowNull: false,
          autoIncrement: true,
          primaryKey: true,
          type: DataTypes.INTEGER,
        },
        id: {
          type: DataTypes.NUMBER,
        },
        first_name: {
          type: DataTypes.STRING,
          allowNull: false,
        },
        last_name: {
          type: DataTypes.STRING,
          allowNull: false,
        },
      });
    },
    down: async (queryInterface, DataTypes) =&gt; {
      await queryInterface.dropTable(&quot;dummytables&quot;);
    },
  };
  </code></pre>
  <p>when am trying to run this command <code>sequelize db:migrate</code>
  and its showing me <code>ERROR: Cannot find module 'sequelize/types'</code></p>
  <p>my dependencies file</p>
  <pre><code>  &quot;dependencies&quot;: {
  &quot;@types/sequelize&quot;: &quot;^4.28.9&quot;,
      &quot;express&quot;: &quot;^4.17.1&quot;,
      &quot;mysql2&quot;: &quot;^2.2.5&quot;,
      &quot;sequelize&quot;: &quot;^6.5.0&quot;,
      &quot;sequelize-cli&quot;: &quot;^6.2.0&quot;  }
  </code></pre>
  <p>any solution need help</p>