In the backend, when I run npm run watch-dev, i’ve got error like this, anyone can help me?
TypeError: Class extends value # is not a constructor or null
at Object. (/home/amar/intern/ocean/ocean/packages/common/node_modules/sequelize/lib/dialects/mysql/query-generator.js:44:35)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/amar/intern/ocean/ocean/packages/common/node_modules/sequelize/lib/dialects/mysql/index.js:6:24)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
I use node 16, typescript 4.9.5, sequelize 6.32.1
Amar Ma’ruf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1