You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have got const model = require(path.join(__dirname, file)).default( ^ TypeError: require(...).default is not a function error while using "sequelize": "^6.33.0", But the output was bar!
Output, either JSON or SQL
Dialect: mysql / postgres / sqlite / mssql / any Database version: XXX Sequelize CLI version: XXX Sequelize version: XXX
The text was updated successfully, but these errors were encountered:
What you are doing?
// code here
What do you expect to happen?
I wanted Foo!
What is actually happening?
I have got const model = require(path.join(__dirname, file)).default( ^ TypeError: require(...).default is not a function error while using "sequelize": "^6.33.0",
But the output was bar!
Output, either JSON or SQL
Dialect: mysql / postgres / sqlite / mssql / any
Database version: XXX
Sequelize CLI version: XXX
Sequelize version: XXX
The text was updated successfully, but these errors were encountered: