在刚使用模板项目完成koishi安装后,控制台报错且webui提示notfound
日志如下:
PS D:\Koishi> yarn create koishi
yarn create v1.22.19
[1/4] Resolving packages…
[2/4] Fetching packages…
[3/4] Linking dependencies…
[4/4] Building fresh packages…
success Installed “create-koishi@6.3.2” with binaries:
- create-koishi
[##########################] 26/26
Create Koishi v6.3.2
√ Project name: … BotFH
Scaffolding project in BotFH …
Done.
√ Install and start it now? … yes
➤ YN0000: · Yarn 4.1.1
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + @koishijs/client@npm:5.29.3, @koishijs/plugin-actions@npm:0.0.2, and 663 more.
➤ YN0000: └ Completed in 2s 230ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ BotFH@workspace:. doesn’t provide @koishijs/loader (p6805b), requested by @koishijs/plugin-hmr.
➤ YN0002: │ BotFH@workspace:. doesn’t provide @koishijs/loader (p842a1), requested by @koishijs/plugin-config.
➤ YN0086: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ A package was added to the project (+ 430.58 KiB).
➤ YN0000: └ Completed in 0s 602ms
➤ YN0000: ┌ Link step
➤ YN0007: │ esbuild@npm:0.23.1 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.18.20 must be built because it never has been before or the last one failed
➤ YN0007: │ vue-demi@npm:0.14.10 [a9942] must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 10s 760ms
➤ YN0000: · Done with warnings in 13s 723ms
2024-09-17 18:08:33 [I] app Koishi/4.17.12
2024-09-17 18:08:33 [I] loader apply plugin group:entry
2024-09-17 18:08:33 [I] loader apply plugin group:server
2024-09-17 18:08:33 [I] loader apply plugin server:n9pg84
2024-09-17 18:08:33 [I] loader apply plugin group:basic
2024-09-17 18:08:33 [I] loader apply plugin commands:k8sk4q
2024-09-17 18:08:33 [I] loader apply plugin help:0xk0sv
2024-09-17 18:08:33 [I] loader apply plugin http:cfgw8p
2024-09-17 18:08:33 [I] loader apply plugin locales:gicmjj
2024-09-17 18:08:33 [I] loader apply plugin proxy-agent:xoeoox
2024-09-17 18:08:33 [I] loader apply plugin rate-limit:lsswda
2024-09-17 18:08:33 [I] loader apply plugin telemetry:pywuy5
2024-09-17 18:08:33 [I] loader apply plugin group:console
2024-09-17 18:08:33 [I] loader apply plugin actions:ic70cn
2024-09-17 18:08:33 [I] loader apply plugin analytics:94o6bn
2024-09-17 18:08:33 [I] loader apply plugin config:tgwi2k
2024-09-17 18:08:33 [I] loader apply plugin console:7hjw1k
2024-09-17 18:08:33 [I] loader apply plugin dataview:slc893
2024-09-17 18:08:33 [I] loader apply plugin explorer:163dsx
2024-09-17 18:08:33 [I] loader apply plugin logger:uh7qah
2024-09-17 18:08:33 [I] loader apply plugin insight:c1llic
2024-09-17 18:08:33 [I] loader apply plugin market:2w06y4
2024-09-17 18:08:33 [I] loader apply plugin notifier:ntvnrn
2024-09-17 18:08:33 [I] loader apply plugin oobe:9jawtb
2024-09-17 18:08:33 [I] loader apply plugin sandbox:1uzgal
2024-09-17 18:08:33 [I] loader apply plugin status:la3q06
2024-09-17 18:08:33 [I] loader apply plugin theme-vanilla:3zwq26
2024-09-17 18:08:33 [I] loader apply plugin group:storage
2024-09-17 18:08:33 [I] loader apply plugin database-sqlite:t06jee
2024-09-17 18:08:33 [I] loader apply plugin assets-local:91a14v
2024-09-17 18:08:33 [I] loader apply plugin group:adapter
2024-09-17 18:08:33 [I] assets missing config “selfUrl”, fallback to “file:” scheme
2024-09-17 18:08:33 [E] app TypeError: Can not repeat “0” without a prefix and suffix
at tokensToRegexp (D:\Koishi\BotFH\node_modules\path-to-regexp\dist\index.js:380:31)
at stringToRegexp (D:\Koishi\BotFH\node_modules\path-to-regexp\dist\index.js:346:12)
at pathToRegexp (D:\Koishi\BotFH\node_modules\path-to-regexp\dist\index.js:422:12)
at new Layer (D:\Koishi\BotFH\node_modules@koa\router\lib\layer.js:43:17)
at Router.register (D:\Koishi\BotFH\node_modules@koa\router\lib\router.js:570:17)
at Server.register (D:\Koishi\BotFH\node_modules@cordisjs\plugin-server\lib\index.cjs:199:25)
at Router. [as get] (D:\Koishi\BotFH\node_modules@koa\router\lib\router.js:200:12)
at NodeConsole.serveAssets (D:\Koishi\BotFH\node_modules@koishijs\plugin-console\lib\node\index.js:145:21)
at NodeConsole.start (D:\Koishi\BotFH\node_modules@koishijs\plugin-console\lib\node\index.js:106:10)
at D:\Koishi\BotFH\node_modules@cordisjs\core\lib\index.cjs:1199:18
2024-09-17 18:08:33 [I] server server listening at http://127.0.0.1:5140
2024-09-17 18:08:33 [S] telemetry
欢迎使用 Koishi!
telemetry 服务是一组可选的 Koishi 服务,旨在通过分析您的 Koishi 使用情况来改善 Koishi 的使用体验、提供精确的插件使用量数据,并仅在您需要时为您提供支持。
拒绝同意将影响我们提供的相关数据和功能,但不会影响 Koishi 的基础功能。
要了解更多信息,请打开 Koishi 控制台并参阅我们的隐私政策。在您点击「同意」前,telemetry 服务不会启动。
2024-09-17 18:08:33 [I] sqlite auto creating table user
2024-09-17 18:08:33 [I] sqlite auto creating table binding
2024-09-17 18:08:33 [I] sqlite auto creating table channel