Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Description
Version: v14.0.0
Platform:
Linux 5.3.0-42-generic # 34~18.04.1-Ubuntu SMP Fri Feb 28 13:42:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
What steps will reproduce the bug?
- Running sequelize migrations
npx sequelize-cli db:migrate- I set sequelize like this in this documentation
How often does it reproduce? Is there a required condition?
- It fails whenever I run the following command:
i.npx sequelize-cli db:migrate
===>And even on TravisCI, it is failing
What is the expected behavior?
1. It should create tables in database, which is using PostgreSQL as dialect What do you see instead?
I am getting the following warnings:
$npxsequelize-cli db:migrateSequelizeCLI[Node: 14.0.0,CLI: 5.5.1,ORM: 5.21.6](node:29382) Warning: Accessingnon-existentproperty'__esModule'ofmoduleexportsinsidecirculardependency(Use`node --trace-warnings ...`toshowwherethewarningwascreated)(node:29382) Warning: Accessingnon-existentproperty'__esModule'ofmoduleexportsinsidecirculardependency(node:29382) Warning: Accessingnon-existentproperty'__esModule'ofmoduleexportsinsidecirculardependency(node:29382) Warning: Accessingnon-existentproperty'__esModule'ofmoduleexportsinsidecirculardependency(node:29382) Warning: Accessingnon-existentproperty'__esModule'ofmoduleexportsinsidecirculardependency(node:29382) Warning: Accessingnon-existentproperty'__esModule'ofmoduleexportsinsidecirculardependency(node:29382) Warning: Accessingnon-existentproperty'__esModule'ofmoduleexportsinsidecirculardependency(node:29382) Warning: Accessingnon-existentproperty'__esModule'ofmoduleexportsinsidecirculardependencyLoadedconfigurationfile"src/database/config.cjs".Usingenvironment"development".Donein0.58s.Additional information
- I read this issue hoping it might help, but it did not
- Running that same command with v13.2.0, it does not give any issue
- I ran this command
npx cross-env NODE_OPTIONS="--trace-warnings" yarn run migrationsand got this instead:
$npxsequelize-cli db:migrateSequelizeCLI[Node: 14.0.0,CLI: 5.5.1,ORM: 5.21.6](node:24483) Warning: Accessingnon-existentproperty'__esModule'ofmoduleexportsinsidecirculardependencyatemitCircularRequireWarning(internal/modules/cjs/loader.js:814:11)atObject.get(internal/modules/cjs/loader.js:825:5)at_interopRequireDefault(/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/config-helper.js:31:58)atObject.<anonymous>(/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/config-helper.js:25:15)atModule._compile(internal/modules/cjs/loader.js:1185:30)atObject.Module._extensions..js(internal/modules/cjs/loader.js:1205:10)atModule.load(internal/modules/cjs/loader.js:1034:32)atFunction.Module._load(internal/modules/cjs/loader.js:923:14)atModule.require(internal/modules/cjs/loader.js:1074:19)atrequire(internal/modules/cjs/helpers.js:72:18)at/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:16:52atArray.forEach(<anonymous>) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:15:112) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) (node:24483) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency at emitCircularRequireWarning (internal/modules/cjs/loader.js:814:11) at Object.get (internal/modules/cjs/loader.js:825:5) at _interopRequireDefault (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/init-helper.js:15:58) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/init-helper.js:5:15) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Module.require (internal/modules/cjs/loader.js:1074:19) at require (internal/modules/cjs/helpers.js:72:18) at /home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:16:52 at Array.forEach (<anonymous>) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:15:112) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) (node:24483) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency at emitCircularRequireWarning (internal/modules/cjs/loader.js:814:11) at Object.get (internal/modules/cjs/loader.js:825:5) at _interopRequireDefault (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/migration-helper.js:11:58) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/migration-helper.js:9:15) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Module.require (internal/modules/cjs/loader.js:1074:19) at require (internal/modules/cjs/helpers.js:72:18) at /home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:16:52 at Array.forEach (<anonymous>) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:15:112) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) (node:24483) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency at emitCircularRequireWarning (internal/modules/cjs/loader.js:814:11) at Object.get (internal/modules/cjs/loader.js:825:5) at _interopRequireDefault (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/model-helper.js:7:58) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/model-helper.js:5:15) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Module.require (internal/modules/cjs/loader.js:1074:19) at require (internal/modules/cjs/helpers.js:72:18) at /home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:16:52 at Array.forEach (<anonymous>) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:15:112) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Module.require (internal/modules/cjs/loader.js:1074:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/commands/init.js:7:16) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) (node:24483) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency at emitCircularRequireWarning (internal/modules/cjs/loader.js:814:11) at Object.get (internal/modules/cjs/loader.js:825:5) at _interopRequireDefault (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/template-helper.js:15:58) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/template-helper.js:13:15) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Module.require (internal/modules/cjs/loader.js:1074:19) at require (internal/modules/cjs/helpers.js:72:18) at /home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:16:52 at Array.forEach (<anonymous>) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:15:112) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Module.require (internal/modules/cjs/loader.js:1074:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/commands/init.js:7:16) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) (node:24483) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency at emitCircularRequireWarning (internal/modules/cjs/loader.js:814:11) at Object.get (internal/modules/cjs/loader.js:825:5) at _interopRequireDefault (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/umzug-helper.js:15:58) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/umzug-helper.js:13:15) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Module.require (internal/modules/cjs/loader.js:1074:19) at require (internal/modules/cjs/helpers.js:72:18) at /home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:16:52 at Array.forEach (<anonymous>) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:15:112) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Module.require (internal/modules/cjs/loader.js:1074:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/commands/init.js:7:16) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) (node:24483) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency at emitCircularRequireWarning (internal/modules/cjs/loader.js:814:11) at Object.get (internal/modules/cjs/loader.js:825:5) at _interopRequireDefault (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/version-helper.js:11:58) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/version-helper.js:9:15) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Module.require (internal/modules/cjs/loader.js:1074:19) at require (internal/modules/cjs/helpers.js:72:18) at /home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:16:52 at Array.forEach (<anonymous>) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:15:112) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Module.require (internal/modules/cjs/loader.js:1074:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/commands/init.js:7:16) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) (node:24483) Warning: Accessing non-existent property '__esModule' of module exports inside circular dependency at emitCircularRequireWarning (internal/modules/cjs/loader.js:814:11) at Object.get (internal/modules/cjs/loader.js:825:5) at _interopRequireDefault (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/view-helper.js:19:58) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/view-helper.js:13:15) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Module.require (internal/modules/cjs/loader.js:1074:19) at require (internal/modules/cjs/helpers.js:72:18) at /home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:16:52 at Array.forEach (<anonymous>) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/helpers/index.js:15:112) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) at Module.load (internal/modules/cjs/loader.js:1034:32) at Function.Module._load (internal/modules/cjs/loader.js:923:14) at Module.require (internal/modules/cjs/loader.js:1074:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/home/descholar/descholar/myprojects/2020projects/nezago/phone-history-store-backend/node_modules/sequelize-cli/lib/commands/init.js:7:16) at Module._compile (internal/modules/cjs/loader.js:1185:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10) Loaded configuration file "src/database/config.cjs". Using environment "development". Done in 0.77s.Metadata
Metadata
Assignees
Labels
No labels