Closed
Description
openedon Apr 27, 2020
On heroku I'm getting this error of module exports inside circular dependency. It appears to work locally though.
It never actually runs the migrations.
Any ideas?
$ heroku run sequelize db:migrate
Running sequelize db:migrate on ⬢ trendmobile... up, run.8730 (Hobby)
Sequelize CLI [Node: 14.0.0, CLI: 5.5.1, ORM: 5.21.6]
(node:4) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency
(node:4) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency
(node:4) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency
(node:4) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency
(node:4) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency
(node:4) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency
(node:4) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency
Loaded configuration file "database/config/config.js".
Using environment "production".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels