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

来源:3-3 新增期刊内容02-模型操作

qq_听下雨的声音_0

2023-04-06 00:14

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回答

  • qq_听下雨的声音_0
    2023-04-09 21:33:35

    已解决

0到1快速构建自己的后台管理系统

开源框架LIN-CMS+NodeJS+Vue 快速构建UI好看+功能便捷的后台管理系统

21499 学习 · 145 问题

查看课程

相似问题