I\'m new to express.
I want to import files to sequelize and declared:
const model = sequelize.import(path.join(__dirname, file))
As of now I was able to fix the issue by downgrading the sequelize module version in your package.json to "sequelize": "^5.22.3",. do let me know if it is also fixed on your side.
"sequelize": "^5.22.3",
Edit: any sequelize version under < 6.0.0 should work as normal
< 6.0.0