为了账号安全,请及时绑定邮箱和手机立即绑定

这个No Sequelize instance passed 是哪里的错误啊

Error: No Sequelize instance passed

    at Function.init (/Users/Cholin/Desktop/project/starter/node_modules/sequelize/src/model.js:960:13)

    at Object.<anonymous> (/Users/Cholin/Desktop/project/starter/app/model/movie.js:9:7)

    at Module._compile (node:internal/modules/cjs/loader:1275:14)

    at Module._compile (/Users/Cholin/Desktop/project/starter/node_modules/pirates/lib/index.js:136:24)

    at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)

    at Object.newLoader [as .js] (/Users/Cholin/Desktop/project/starter/node_modules/pirates/lib/index.js:141:7)

    at Module.load (node:internal/modules/cjs/loader:1133:32)

    at Function.Module._load (node:internal/modules/cjs/loader:972:12)

    at Module.require (node:internal/modules/cjs/loader:1157:19)

    at require (node:internal/modules/helpers:119:18)

    at Object.<anonymous> (/Users/Cholin/Desktop/project/starter/app/dao/movie.js:1:1)

    at Module._compile (node:internal/modules/cjs/loader:1275:14)

    at Module._compile (/Users/Cholin/Desktop/project/starter/node_modules/pirates/lib/index.js:136:24)

    at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)

    at Object.newLoader [as .js] (/Users/Cholin/Desktop/project/starter/node_modules/pirates/lib/index.js:141:7)

    at Module.load (node:internal/modules/cjs/loader:1133:32)

    at Function.Module._load (node:internal/modules/cjs/loader:972:12)

    at Module.require (node:internal/modules/cjs/loader:1157:19)

    at require (node:internal/modules/helpers:119:18)

    at Object.<anonymous> (/Users/Cholin/Desktop/project/starter/app/service/content.js:2:1)

    at Module._compile (node:internal/modules/cjs/loader:1275:14)

    at Module._compile (/Users/Cholin/Desktop/project/starter/node_modules/pirates/lib/index.js:136:24)

    at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)

    at Object.newLoader [as .js] (/Users/Cholin/Desktop/project/starter/node_modules/pirates/lib/index.js:141:7)

    at Module.load (node:internal/modules/cjs/loader:1133:32)

    at Function.Module._load (node:internal/modules/cjs/loader:972:12)

    at Module.require (node:internal/modules/cjs/loader:1157:19)

    at require (node:internal/modules/helpers:119:18)

    at Object.<anonymous> (/Users/Cholin/Desktop/project/starter/app/api/v1/content.js:3:1)

    at Module._compile (node:internal/modules/cjs/loader:1275:14)

    at Module._compile (/Users/Cholin/Desktop/project/starter/node_modules/pirates/lib/index.js:136:24)

    at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)

    at Object.newLoader [as .js] (/Users/Cholin/Desktop/project/starter/node_modules/pirates/lib/index.js:141:7)

    at Module.load (node:internal/modules/cjs/loader:1133:32)

    at Function.Module._load (node:internal/modules/cjs/loader:972:12)

    at Module.require (node:internal/modules/cjs/loader:1157:19)

    at require (node:internal/modules/helpers:119:18)

    at Loader.loadMainApi (/Users/Cholin/Desktop/project/starter/node_modules/lin-mizar/lin/loader/index.js:103:29)

    at new Loader (/Users/Cholin/Desktop/project/starter/node_modules/lin-mizar/lin/loader/index.js:26:14)

    at applyLoader (/Users/Cholin/Desktop/project/starter/app/app.js:79:18)

    at createApp (/Users/Cholin/Desktop/project/starter/app/app.js:104:3)

    at run (/Users/Cholin/Desktop/project/starter/app/starter.js:40:21)

    at Object.<anonymous> (/Users/Cholin/Desktop/project/starter/app/starter.js:48:1)

    at Module._compile (node:internal/modules/cjs/loader:1275:14)

    at Module._compile (/Users/Cholin/Desktop/project/starter/node_modules/pirates/lib/index.js:136:24)

    at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)

    at Object.newLoader [as .js] (/Users/Cholin/Desktop/project/starter/node_modules/pirates/lib/index.js:141:7)

    at Module.load (node:internal/modules/cjs/loader:1133:32)

    at Function.Module._load (node:internal/modules/cjs/loader:972:12)

    at Module.require (node:internal/modules/cjs/loader:1157:19)


正在回答

1 回答

已解决

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

这个No Sequelize instance passed 是哪里的错误啊

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信