yarn dev后报错

PS E:\dev\koishi-app> yarn dev
2023-11-20 23:57:31 [I] app Koishi/4.15.5
2023-11-20 23:57:31 [I] loader apply plugin group:entry
2023-11-20 23:57:31 [I] loader apply plugin group:basic
2023-11-20 23:57:31 [I] loader apply plugin commands
2023-11-20 23:57:31 [I] loader apply plugin help
2023-11-20 23:57:31 [I] loader apply plugin locales
2023-11-20 23:57:31 [I] loader apply plugin rate-limit
2023-11-20 23:57:31 [I] loader apply plugin telemetry
2023-11-20 23:57:31 [I] loader apply plugin group:console
2023-11-20 23:57:31 [I] loader apply plugin actions
2023-11-20 23:57:31 [I] loader apply plugin analytics
2023-11-20 23:57:31 [I] loader apply plugin config
2023-11-20 23:57:31 [I] loader apply plugin console
2023-11-20 23:57:31 [I] loader apply plugin dataview
2023-11-20 23:57:31 [I] loader apply plugin explorer
2023-11-20 23:57:31 [I] loader apply plugin logger
2023-11-20 23:57:31 [I] loader apply plugin insight
2023-11-20 23:57:31 [I] loader apply plugin market
2023-11-20 23:57:31 [I] loader apply plugin oobe
2023-11-20 23:57:31 [I] loader apply plugin sandbox
2023-11-20 23:57:31 [I] loader apply plugin status
2023-11-20 23:57:31 [I] loader apply plugin theme-vanilla
2023-11-20 23:57:31 [I] loader apply plugin group:storage
2023-11-20 23:57:31 [I] loader apply plugin database-sqlite
2023-11-20 23:57:31 [I] loader apply plugin assets-local
2023-11-20 23:57:31 [I] loader apply plugin group:adapter
2023-11-20 23:57:31 [I] loader apply plugin adapter-qq
2023-11-20 23:57:31 [I] loader apply plugin group:develop
2023-11-20 23:57:31 [I] loader apply plugin hmr
2023-11-20 23:57:32 [I] assets missing config “selfUrl”, fallback to “file:” scheme
2023-11-20 23:57:32 [W] app Error: service console.insight has been registered
at Object.set (E:\dev\koishi-app\node_modules\cordis\src\context.ts:149:15)
at (E:\dev\koishi-app\node_modules\cordis\src\service.ts:25:31)
at async Promise.all (index 49)
at Proxy.flush (E:\dev\koishi-app\node_modules\cordis\src\events.ts:69:7)
at Proxy.start (E:\dev\koishi-app\node_modules\cordis\src\events.ts:169:5)
at start (E:\dev\koishi-app\node_modules\koishi\src\worker\index.ts:53:3)
2023-11-20 23:57:32 [W] app Error: service console.insight has been registered
at Object.set (E:\dev\koishi-app\node_modules\cordis\src\context.ts:149:15)
at (E:\dev\koishi-app\node_modules\cordis\src\service.ts:25:31)
at async Promise.all (index 51)
at Proxy.flush (E:\dev\koishi-app\node_modules\cordis\src\events.ts:69:7)
at Proxy.start (E:\dev\koishi-app\node_modules\cordis\src\events.ts:169:5)
at start (E:\dev\koishi-app\node_modules\koishi\src\worker\index.ts:53:3)
2023-11-20 23:57:32 [I] router server listening at http://127.0.0.1:5140
2023-11-20 23:57:33 [W] app AxiosError: Request failed with status code 401
at settle (E:\dev\koishi-app\node_modules\axios\lib\core\settle.js:19:12)
at IncomingMessage.handleStreamEnd (E:\dev\koishi-app\node_modules\axios\lib\adapters\http.js:585:11)
at IncomingMessage.emit (node:events:526:35)
at endReadableNT (node:internal/streams/readable:1408:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2023-11-20 23:57:33 [W] app AxiosError: Request failed with status code 401
at request (E:\dev\koishi-app\node_modules\cordis-axios\src\index.ts:20:21)
at http (E:\dev\koishi-app\node_modules\cordis-axios\src\index.ts:39:30)
at _Quester.get (E:\dev\koishi-app\node_modules\cordis-axios\src\index.ts:82:12)
at _WsClient.prepare (E:\dev\koishi-app\node_modules@satorijs\adapter-qq\src\ws.ts:13:46)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at reconnect (E:\dev\koishi-app\node_modules@satorijs\core\src\adapter.ts:57:24)

2 个赞

提问请在互助版块提问,问题反馈版块专用于反馈 Koishi 本体的问题。我已帮你修改分区。

2 个赞

一般是配置填写错误导致,请认真阅读接入教程。

2 个赞

感谢回复

3 个赞