Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在5.0分支源码启动报错 #43

Open
DingQi1888 opened this issue Aug 2, 2024 · 3 comments
Open

在5.0分支源码启动报错 #43

DingQi1888 opened this issue Aug 2, 2024 · 3 comments

Comments

@DingQi1888
Copy link

在5.0分支源码启动报错 npm run dev 研究了好一会看起来是sqllist部分的问题 但是没找到切入点 大佬帮忙分析指导下

[nodemon] 3.1.4
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): bin***
[nodemon] watching extensions: js
[nodemon] starting node bootstrap.js
███████╗███████╗ █████╗ ███╗ ██╗██████╗ ██████╗ ██╗ ██╗███╗ ██╗
██╔════╝██╔════╝██╔══██╗████╗ ██║██╔══██╗██╔═══██╗██║ ██║████╗ ██║
█████╗ █████╗ ███████║██╔██╗ ██║██║ ██║██║ ██║██║ █╗ ██║██╔██╗ ██║
██╔══╝ ██╔══╝ ██╔══██║██║╚██╗██║██║ ██║██║ ██║██║███╗██║██║╚██╗██║
██║ ██║ ██║ ██║██║ ╚████║██████╔╝╚██████╔╝╚███╔███╔╝██║ ╚████║
╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═════╝ ╚══╝╚══╝ ╚═╝ ╚═══╝

download and set env failed:HTTPError: Response code 404 (Not Found)
download and set env failed:HTTPError: Response code 404 (Not Found)
[ffandown] Database synced successfully
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^

Error
at Database. (E:\ffcode\ffandown\node_modules\sequelize\lib\dialects\sqlite\query.js:185:27)
at E:\ffcode\ffandown\node_modules\sequelize\lib\dialects\sqlite\query.js:183:50
at new Promise ()
at Query.run (E:\ffcode\ffandown\node_modules\sequelize\lib\dialects\sqlite\query.js:183:12)
at E:\ffcode\ffandown\node_modules\sequelize\lib\sequelize.js:315:28
at async SQLiteQueryInterface.select (E:\ffcode\ffandown\node_modules\sequelize\lib\dialects\abstract\query-interface.js:407:12)
at async sys_download.findAll (E:\ffcode\ffandown\node_modules\sequelize\lib\model.js:1140:21)
at async Object.queryMissionByType (E:\ffcode\ffandown\node_modules\oimi-helper\src\sql\index.js:87:33)
at async Oimi.initalMission (E:\ffcode\ffandown\node_modules\oimi-helper\src\index.js:150:29) {
name: 'SequelizeDatabaseError',
parent: [Error: SQLITE_ERROR: no such column: referer] {
errno: 1,
code: 'SQLITE_ERROR',
sql: "SELECT uid, name, url, useragent, referer, audioUrl, percent, filePath, speed, timemark, size, status, message, crt_tm, upd_tm FROM sys_download AS sys_download WHERE sys_download.status IN ('0', '1', '2', '5') ORDER BY sys_download.crt_tm ASC;"
},
original: [Error: SQLITE_ERROR: no such column: referer] {
errno: 1,
code: 'SQLITE_ERROR',
sql: "SELECT uid, name, url, useragent, referer, audioUrl, percent, filePath, speed, timemark, size, status, message, crt_tm, upd_tm FROM sys_download AS sys_download WHERE sys_download.status IN ('0', '1', '2', '5') ORDER BY sys_download.crt_tm ASC;"
},
sql: "SELECT uid, name, url, useragent, referer, audioUrl, percent, filePath, speed, timemark, size, status, message, crt_tm, upd_tm FROM sys_download AS sys_download WHERE sys_download.status IN ('0', '1', '2', '5') ORDER BY sys_download.crt_tm ASC;",
parameters: {}
}

Node.js v18.16.0

@DingQi1888
Copy link
Author

node_sqlite3.node 放在同级目录也没效果 看起来是oimi框架的启动有问题

@helson-lin
Copy link
Owner

helson-lin commented Aug 2, 2024 via email

@helson-lin
Copy link
Owner

你可以先 ping一下https://ipera.oimi.space/ 看不能通,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants