title: Sequelize 'Dialect needs to be explicitly supplied as of v4.0.0'
body: <p>I need to run third party application in node.js environment but Sequelize throws 'Dialect needs to be explicitly supplied as of v4.0.0'
  I've found similar topic here <a href="https://stackoverflow.com/questions/46694157/dialect-needs-to-be-explicitly-supplied-as-of-v4-0-0">Dialect needs to be explicitly supplied as of v4.0.0</a> but 'export NODE_ENV=development' doesn't work and I can not find Sequelize config file.
  How can I fix this error?</p>
  
  <p>Here is code:</p>
  
  <pre><code>const Sequelize = require('sequelize');
  
  const scheme = require('./scheme');
  
  const Op = Sequelize.Op;
  
  const sequelize = new Sequelize(null, null, {
  
  dialect: 'sqlite',
  storage: 'db.sqlite3',
  
  operatorsAliases: { $and: Op.and },
  
  logging: false
  });
  
  scheme(sequelize);
  sequelize.sync();
  
  module.exports.sequelize = sequelize;
  module.exports.models = sequelize.models;
  </code></pre>