koishi 更新! 火箭发射! 然后闪退了... ...

在使用koishi desktop的时候,我的default-name示例小火箭后,直接闪退了!?

为了确认情况,排除个例特别因素,我从 这里(github.com)下载了一个空荡荡的实例~

下载了【boilerplate-v1.13.6-windows-amd64-node20.zip】,解压,
放到koishi desktop的环境下使用,可以正常打开 !


=========================================
System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12500H

Binaries:
    Node: 20.3.1
    Yarn: 4.0.1

Koishi:
    Core: 4.16.6
    Console: 5.25.8
    Koishi Desktop: 1.0.1

=========================================

然后对这个实例小火箭去啦~

更新的是如下这些内容

更新完之后,很快啊 ~~

闪退了,

但是emmm,虽然这里是显示已经启动,

但是5140到5149端口都没有koishi啊

日志只有两个

2024-01-26-1.log

{"id":1,"type":"info","level":2,"name":"app","meta":{},"content":"\u001b[38;5;15;1mKoishi/4.16.6\u001b[0m","timestamp":1706297582590}
{"id":2,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mgroup:entry\u001b[0m","timestamp":1706297582599}
{"id":3,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mgroup:server\u001b[0m","timestamp":1706297582599}
{"id":4,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mserver:4zzkc2\u001b[0m","timestamp":1706297582599}
{"id":5,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mgroup:basic\u001b[0m","timestamp":1706297583422}
{"id":6,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mcommands:op5hik\u001b[0m","timestamp":1706297583423}
{"id":7,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mhelp:0vktbd\u001b[0m","timestamp":1706297583454}
{"id":8,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mlocales:bzsmvk\u001b[0m","timestamp":1706297583469}
{"id":9,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mrate-limit:2qt8ct\u001b[0m","timestamp":1706297583487}
{"id":10,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mtelemetry:3gm88a\u001b[0m","timestamp":1706297583505}
{"id":11,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mgroup:console\u001b[0m","timestamp":1706297583518}
{"id":12,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mactions:xzykw6\u001b[0m","timestamp":1706297583519}
{"id":13,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45manalytics:z4hncr\u001b[0m","timestamp":1706297583529}
{"id":14,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mconfig:lz1cya\u001b[0m","timestamp":1706297583544}
{"id":15,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mconsole:87zv38\u001b[0m","timestamp":1706297584023}
{"id":16,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mdataview:p8hjz8\u001b[0m","timestamp":1706297584096}
{"id":17,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mdesktop:26invl\u001b[0m","timestamp":1706297584113}
{"id":18,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mexplorer:roirxr\u001b[0m","timestamp":1706297584140}
{"id":19,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mlogger:uvuou8\u001b[0m","timestamp":1706297584578}
{"id":20,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45minsight:xmm9ze\u001b[0m","timestamp":1706297584592}
{"id":21,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mmarket:v6fsok\u001b[0m","timestamp":1706297584604}
{"id":22,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mnotifier:w2fs8r\u001b[0m","timestamp":1706297585033}
{"id":23,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45moobe:f91at4\u001b[0m","timestamp":1706297585044}
{"id":24,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45msandbox:s7q9dd\u001b[0m","timestamp":1706297585047}
{"id":25,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mstatus:phlop6\u001b[0m","timestamp":1706297585061}
{"id":26,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mtheme-vanilla:rpfrq7\u001b[0m","timestamp":1706297585116}
{"id":27,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mgroup:storage\u001b[0m","timestamp":1706297585133}
{"id":28,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mdatabase-sqlite:wuh7ky\u001b[0m","timestamp":1706297585134}
{"id":29,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45massets-local:8g4td2\u001b[0m","timestamp":1706297585214}
{"id":30,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mgroup:adapter\u001b[0m","timestamp":1706297585244}
{"id":31,"type":"info","level":2,"name":"assets","meta":{"paths":["8g4td2"]},"content":"missing config \"selfUrl\", fallback to \"file:\" scheme","timestamp":1706297585749}
{"id":32,"type":"info","level":2,"name":"server","meta":{"paths":["4zzkc2"]},"content":"server listening at \u001b[38;5;57mhttp://127.0.0.1:5140\u001b[0m","timestamp":1706297585761}
{"id":33,"type":"info","level":2,"name":"console","meta":{"paths":["87zv38"]},"content":"webui is available at \u001b[38;5;166mhttp://127.0.0.1:5140\u001b[0m","timestamp":1706297585762}
{"id":35,"type":"info","level":2,"name":"sqlite","meta":{},"content":"auto creating table \u001b[38;5;170muser\u001b[0m","timestamp":1706297585813}
{"id":38,"type":"info","level":2,"name":"sqlite","meta":{},"content":"auto creating table \u001b[38;5;170mbinding\u001b[0m","timestamp":1706297585827}
{"id":41,"type":"info","level":2,"name":"sqlite","meta":{},"content":"auto creating table \u001b[38;5;170mchannel\u001b[0m","timestamp":1706297585837}
{"id":44,"type":"info","level":2,"name":"sqlite","meta":{},"content":"auto creating table \u001b[38;5;170manalytics.message\u001b[0m","timestamp":1706297585846}
{"id":47,"type":"info","level":2,"name":"sqlite","meta":{},"content":"auto creating table \u001b[38;5;170manalytics.command\u001b[0m","timestamp":1706297585855}
{"id":67,"type":"warn","level":2,"name":"market","meta":{},"content":"read ECONNRESET","timestamp":1706297596054}
{"id":68,"type":"info","level":2,"name":"market","meta":{},"content":"\u001b[94m➤\u001b[39m YN0000: · \u001b[1mYarn 4.0.1\u001b[22m","timestamp":1706297659867}
{"id":69,"type":"info","level":2,"name":"market","meta":{},"content":"\u001b[94m➤\u001b[39m \u001b[90mYN0000\u001b[39m: ┌ Resolution step","timestamp":1706297659877}
{"id":70,"type":"info","level":2,"name":"market","meta":{},"content":"\u001b[94m➤\u001b[39m \u001b]8;;https://yarnpkg.com/advanced/error-codes#yn0085---updated_resolution_record\u0007YN0085\u001b]8;;\u0007: │ \u001b[38;2;95;175;0m+\u001b[39m \u001b[38;2;215;95;0m@koishijs/\u001b[39m\u001b[38;2;215;135;95mplugin-adapter-discord\u001b[39m\u001b[38;2;135;175;255m@\u001b[39m\u001b[38;2;135;175;255mnpm:4.2.1\u001b[39m, \u001b[38;2;215;95;0m@koishijs/\u001b[39m\u001b[38;2;215;135;95mplugin-adapter-qq\u001b[39m\u001b[38;2;135;175;255m@\u001b[39m\u001b[38;2;135;175;255mnpm:4.4.1\u001b[39m, \u001b[38;2;215;95;0m@koishijs/\u001b[39m\u001b[38;2;215;135;95mplugin-commands\u001b[39m\u001b[38;2;135;175;255m@\u001b[39m\u001b[38;2;135;175;255mnpm:3.5.1\u001b[39m, and \u001b[38;2;255;215;0m67\u001b[39m more.","timestamp":1706297660645}
{"id":71,"type":"info","level":2,"name":"market","meta":{},"content":"\u001b[94m➤\u001b[39m \u001b]8;;https://yarnpkg.com/advanced/error-codes#yn0085---updated_resolution_record\u0007YN0085\u001b]8;;\u0007: │ \u001b[38;2;255;49;49m-\u001b[39m \u001b[38;2;215;95;0m@koishijs/\u001b[39m\u001b[38;2;215;135;95mplugin-adapter-discord\u001b[39m\u001b[38;2;135;175;255m@\u001b[39m\u001b[38;2;135;175;255mnpm:4.2.0\u001b[39m, \u001b[38;2;215;95;0m@koishijs/\u001b[39m\u001b[38;2;215;135;95mplugin-adapter-qq\u001b[39m\u001b[38;2;135;175;255m@\u001b[39m\u001b[38;2;135;175;255mnpm:4.3.1\u001b[39m, \u001b[38;2;215;95;0m@koishijs/\u001b[39m\u001b[38;2;215;135;95mplugin-commands\u001b[39m\u001b[38;2;135;175;255m@\u001b[39m\u001b[38;2;135;175;255mnpm:3.5.0\u001b[39m, and \u001b[38;2;255;215;0m8\u001b[39m more.","timestamp":1706297660645}
{"id":72,"type":"info","level":2,"name":"market","meta":{},"content":"\u001b[94m➤\u001b[39m \u001b[90mYN0000\u001b[39m: └ Completed in 0s 776ms","timestamp":1706297660653}
{"id":73,"type":"info","level":2,"name":"market","meta":{},"content":"\u001b[94m➤\u001b[39m \u001b[90mYN0000\u001b[39m: ┌ Post-resolution validation","timestamp":1706297660654}
{"id":76,"type":"info","level":2,"name":"market","meta":{},"content":"\u001b[94m➤\u001b[39m \u001b[90mYN0000\u001b[39m: └ Completed","timestamp":1706297660654}
{"id":78,"type":"info","level":2,"name":"market","meta":{},"content":"\u001b[94m➤\u001b[39m \u001b]8;;https://yarnpkg.com/advanced/error-codes#yn0013---fetch_not_cached\u0007YN0013\u001b]8;;\u0007: │ \u001b[38;2;255;215;0m6\u001b[39m packages were added to the project (\u001b[38;2;255;49;49m+ 8.06 MiB\u001b[39m).","timestamp":1706297661683}
{"id":79,"type":"info","level":2,"name":"market","meta":{},"content":"\u001b[94m➤\u001b[39m \u001b[90mYN0000\u001b[39m: └ Completed in 1s 28ms","timestamp":1706297661683}
{"id":80,"type":"info","level":2,"name":"market","meta":{},"content":"\u001b[94m➤\u001b[39m \u001b[90mYN0000\u001b[39m: ┌ Link step","timestamp":1706297661696}
{"id":81,"type":"info","level":2,"name":"market","meta":{},"content":"\u001b[94m➤\u001b[39m \u001b[90mYN0000\u001b[39m: └ Completed in 2s 31ms","timestamp":1706297663727}
{"id":82,"type":"info","level":2,"name":"market","meta":{},"content":"\u001b[93m➤\u001b[39m YN0000: · Done with warnings in 3s 894ms","timestamp":1706297663760}
{"id":83,"type":"error","level":1,"name":"market","meta":{},"content":"Error: Cannot find module 'C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-server\\lib\\index.js'. Please verify that the package.json has a valid \"main\" entry\n    at tryPackage (node:internal/modules/cjs/loader:440:19)\n    at Module._findPath (node:internal/modules/cjs/loader:689:18)\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1058:27)\n    at Function.resolve (node:internal/modules/helpers:127:19)\n    at Proxy.install (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js:304:23)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ctx2.console.addListener.authority (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js:533:20)\n    at async WebSocket.receive (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\console\\lib\\index.js:128:21)","timestamp":1706297664138}
{"id":84,"type":"error","level":1,"name":"market","meta":{},"content":"Error: Cannot find module 'C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-server-satori\\lib\\index.js'. Please verify that the package.json has a valid \"main\" entry\n    at tryPackage (node:internal/modules/cjs/loader:440:19)\n    at Module._findPath (node:internal/modules/cjs/loader:689:18)\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1058:27)\n    at Function.resolve (node:internal/modules/helpers:127:19)\n    at Proxy.install (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js:304:23)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ctx2.console.addListener.authority (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js:533:20)\n    at async WebSocket.receive (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\console\\lib\\index.js:128:21)","timestamp":1706297664140}
{"id":85,"type":"error","level":1,"name":"market","meta":{},"content":"Error: Cannot find module 'koishi-plugin-bilibili-notify'\nRequire stack:\n- C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js\n- C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\loader\\lib\\index.js\n- C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\koishi\\lib\\worker\\index.js\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1072:15)\n    at Function.resolve (node:internal/modules/helpers:127:19)\n    at Proxy.install (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js:304:23)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ctx2.console.addListener.authority (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js:533:20)\n    at async WebSocket.receive (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\console\\lib\\index.js:128:21)","timestamp":1706297664142}
{"id":86,"type":"error","level":1,"name":"market","meta":{},"content":"Error: Cannot find module 'koishi-plugin-local-audio-selector'\nRequire stack:\n- C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js\n- C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\loader\\lib\\index.js\n- C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\koishi\\lib\\worker\\index.js\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1072:15)\n    at Function.resolve (node:internal/modules/helpers:127:19)\n    at Proxy.install (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js:304:23)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ctx2.console.addListener.authority (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js:533:20)\n    at async WebSocket.receive (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\console\\lib\\index.js:128:21)","timestamp":1706297664144}
{"id":87,"type":"error","level":1,"name":"market","meta":{},"content":"Error: Cannot find module 'koishi-plugin-playgenshin'\nRequire stack:\n- C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js\n- C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\loader\\lib\\index.js\n- C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\koishi\\lib\\worker\\index.js\n    at Module._resolveFilename (node:internal/modules/cjs/loader:1072:15)\n    at Function.resolve (node:internal/modules/helpers:127:19)\n    at Proxy.install (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js:304:23)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async ctx2.console.addListener.authority (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\plugin-market\\lib\\node\\index.js:533:20)\n    at async WebSocket.receive (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\console\\lib\\index.js:128:21)","timestamp":1706297664146}

2024-01-26-2.log

{"id":1,"type":"info","level":2,"name":"app","meta":{},"content":"\u001b[38;5;15;1mKoishi/4.16.6\u001b[0m","timestamp":1706297664677}
{"id":2,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mgroup:entry\u001b[0m","timestamp":1706297664686}
{"id":3,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mgroup:server\u001b[0m","timestamp":1706297664687}
{"id":4,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mserver:4zzkc2\u001b[0m","timestamp":1706297664687}
{"id":5,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mgroup:basic\u001b[0m","timestamp":1706297664804}
{"id":6,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mcommands:op5hik\u001b[0m","timestamp":1706297664805}
{"id":7,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mhelp:0vktbd\u001b[0m","timestamp":1706297664808}
{"id":8,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mlocales:bzsmvk\u001b[0m","timestamp":1706297664811}
{"id":9,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mrate-limit:2qt8ct\u001b[0m","timestamp":1706297664817}
{"id":10,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mtelemetry:3gm88a\u001b[0m","timestamp":1706297664820}
{"id":11,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mgroup:console\u001b[0m","timestamp":1706297664823}
{"id":12,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mactions:xzykw6\u001b[0m","timestamp":1706297664823}
{"id":13,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45manalytics:z4hncr\u001b[0m","timestamp":1706297664824}
{"id":14,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mconfig:lz1cya\u001b[0m","timestamp":1706297664828}
{"id":15,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mconsole:87zv38\u001b[0m","timestamp":1706297664872}
{"id":16,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mdataview:p8hjz8\u001b[0m","timestamp":1706297664911}
{"id":17,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mdesktop:26invl\u001b[0m","timestamp":1706297664918}
{"id":18,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mexplorer:roirxr\u001b[0m","timestamp":1706297664922}
{"id":19,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mlogger:uvuou8\u001b[0m","timestamp":1706297664957}
{"id":20,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45minsight:xmm9ze\u001b[0m","timestamp":1706297664961}
{"id":21,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mmarket:v6fsok\u001b[0m","timestamp":1706297664963}
{"id":22,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mnotifier:w2fs8r\u001b[0m","timestamp":1706297665014}
{"id":23,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45moobe:f91at4\u001b[0m","timestamp":1706297665016}
{"id":24,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45msandbox:s7q9dd\u001b[0m","timestamp":1706297665017}
{"id":25,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mstatus:phlop6\u001b[0m","timestamp":1706297665020}
{"id":26,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mtheme-vanilla:rpfrq7\u001b[0m","timestamp":1706297665051}
{"id":27,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mgroup:storage\u001b[0m","timestamp":1706297665056}
{"id":28,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mdatabase-sqlite:wuh7ky\u001b[0m","timestamp":1706297665056}
{"id":29,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45massets-local:8g4td2\u001b[0m","timestamp":1706297665068}
{"id":30,"type":"info","level":2,"name":"loader","meta":{"paths":[]},"content":"apply plugin \u001b[38;5;45mgroup:adapter\u001b[0m","timestamp":1706297665073}
{"id":31,"type":"warn","level":2,"name":"app","meta":{},"content":"Error: invalid plugin, expect function or object with an \"apply\" method, received object\n    at Proxy.resolve (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\cordis\\lib\\index.cjs:614:11)\n    at Proxy.resolve (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\loader\\lib\\shared.js:264:40)\n    at async Proxy.forkPlugin (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\loader\\lib\\shared.js:282:20)\n    at async Proxy.reload (C:\\Users\\shangxue\\AppData\\Roaming\\Koishi\\Desktop\\data\\instances\\boilerplate-v1.13.6-windows-amd64-node20-name\\node_modules\\@koishijs\\loader\\lib\\shared.js:314:16)","timestamp":1706297665089}

如果对这个实例使用 yarn start 的话,情况是这样的:

Microsoft Windows [版本 10.0.19045.3930]
(c) Microsoft Corporation。保留所有权利。

C:\Users\shangxue\AppData\Roaming\Koishi\Desktop\data\instances\boilerplate-v1.13.6-windows-amd64-node20-name>yarn start
2024-01-27 03:40:19 [I] app Koishi/4.16.6
2024-01-27 03:40:19 [I] loader apply plugin group:entry
2024-01-27 03:40:19 [I] loader apply plugin group:server
2024-01-27 03:40:19 [I] loader apply plugin server:4zzkc2
2024-01-27 03:40:19 [I] loader apply plugin group:basic
2024-01-27 03:40:19 [I] loader apply plugin commands:op5hik
2024-01-27 03:40:19 [I] loader apply plugin help:0vktbd
2024-01-27 03:40:19 [I] loader apply plugin locales:bzsmvk
2024-01-27 03:40:19 [I] loader apply plugin rate-limit:2qt8ct
2024-01-27 03:40:19 [I] loader apply plugin telemetry:3gm88a
2024-01-27 03:40:19 [I] loader apply plugin group:console
2024-01-27 03:40:19 [I] loader apply plugin actions:xzykw6
2024-01-27 03:40:19 [I] loader apply plugin analytics:z4hncr
2024-01-27 03:40:19 [I] loader apply plugin config:lz1cya
2024-01-27 03:40:19 [I] loader apply plugin console:87zv38
2024-01-27 03:40:19 [I] loader apply plugin dataview:p8hjz8
2024-01-27 03:40:19 [I] loader apply plugin explorer:roirxr
2024-01-27 03:40:19 [I] loader apply plugin logger:uvuou8
2024-01-27 03:40:19 [I] loader apply plugin insight:xmm9ze
2024-01-27 03:40:19 [I] loader apply plugin market:v6fsok
2024-01-27 03:40:19 [I] loader apply plugin notifier:w2fs8r
2024-01-27 03:40:19 [I] loader apply plugin oobe:f91at4
2024-01-27 03:40:19 [I] loader apply plugin sandbox:s7q9dd
2024-01-27 03:40:19 [I] loader apply plugin status:phlop6
2024-01-27 03:40:19 [I] loader apply plugin theme-vanilla:rpfrq7
2024-01-27 03:40:19 [I] loader apply plugin group:storage
2024-01-27 03:40:19 [I] loader apply plugin database-sqlite:wuh7ky
2024-01-27 03:40:19 [I] loader apply plugin assets-local:8g4td2
2024-01-27 03:40:19 [I] loader apply plugin group:adapter
2024-01-27 03:40:19 [W] app Error: invalid plugin, expect function or object with an "apply" method, received object
                            at Proxy.resolve (C:\Users\shangxue\AppData\Roaming\Koishi\Desktop\data\instances\boilerplate-v1.13.6-windows-amd64-node20-name\node_modules\cordis\lib\index.cjs:614:11)
                            at Proxy.resolve (C:\Users\shangxue\AppData\Roaming\Koishi\Desktop\data\instances\boilerplate-v1.13.6-windows-amd64-node20-name\node_modules\@koishijs\loader\lib\shared.js:264:40)
                            at async Proxy.forkPlugin (C:\Users\shangxue\AppData\Roaming\Koishi\Desktop\data\instances\boilerplate-v1.13.6-windows-amd64-node20-name\node_modules\@koishijs\loader\lib\shared.js:282:20)
                            at async Proxy.reload (C:\Users\shangxue\AppData\Roaming\Koishi\Desktop\data\instances\boilerplate-v1.13.6-windows-amd64-node20-name\node_modules\@koishijs\loader\lib\shared.js:314:16)

C:\Users\shangxue\AppData\Roaming\Koishi\Desktop\data\instances\boilerplate-v1.13.6-windows-amd64-node20-name>

无解的题…

不知道大家是不是也这样的呢~

5 个赞

应该是最新版本的问题,我去看一下。

4 个赞

删 lockfile 重新 yarn 试试?

4 个赞

我从2~3个月前的猿古(4.15.x?)实例(arm64 linux 脚手架)升级过来(去掉点插件依赖,小火箭),
出现此情况
然后扔lock并创建空文件。
现在启动不是以上错误,但是访问 Interal Server Error:

armbian-128g:koishi-308:% yarn start
2024-01-27 11:10:14 [I] app Koishi/4.16.7
2024-01-27 11:10:14 [I] loader apply plugin group:entry
2024-01-27 11:10:14 [I] loader apply plugin server:nf1w63
2024-01-27 11:10:15 [I] loader apply plugin group:basic
2024-01-27 11:10:15 [I] loader apply plugin admin:oy9jwx
2024-01-27 11:10:15 [I] loader apply plugin bind:er3k7z
2024-01-27 11:10:15 [I] loader apply plugin commands:01cbj5
2024-01-27 11:10:15 [I] loader apply plugin help:0orc2q
2024-01-27 11:10:15 [I] loader apply plugin inspect:mcba0a
2024-01-27 11:10:15 [I] loader apply plugin router:ej9a13
2024-01-27 11:10:15 [E] app cannot resolve plugin "router"
2024-01-27 11:10:15 [I] loader apply plugin locales:uy7l4m
2024-01-27 11:10:15 [I] loader apply plugin rate-limit:bioid5
2024-01-27 11:10:15 [I] loader apply plugin group:console
2024-01-27 11:10:15 [I] loader apply plugin analytics:dmyvg4
2024-01-27 11:10:15 [I] loader apply plugin auth:kmb8dw
2024-01-27 11:10:15 [I] loader apply plugin config:xd4vyi
2024-01-27 11:10:15 [I] loader apply plugin console:88qazs
2024-01-27 11:10:15 [I] loader apply plugin dataview:se3lgf
2024-01-27 11:10:15 [I] loader apply plugin explorer:0s66tl
2024-01-27 11:10:15 [I] loader apply plugin logger:5m7xk6
2024-01-27 11:10:15 [I] loader apply plugin insight:i2erg6
2024-01-27 11:10:15 [I] loader apply plugin market:2a5ltz
2024-01-27 11:10:15 [I] loader apply plugin sandbox:qd5dtz
2024-01-27 11:10:15 [I] loader apply plugin status:gkoh5o
2024-01-27 11:10:15 [I] loader apply plugin theme-vanilla:eziuyr
2024-01-27 11:10:15 [I] loader apply plugin group:storage
2024-01-27 11:10:15 [I] loader apply plugin database-mysql:9uogyb
2024-01-27 11:10:15 [I] loader apply plugin assets-local:me097q
2024-01-27 11:10:15 [I] loader apply plugin group:adapter
2024-01-27 11:10:15 [I] loader apply plugin echo:lvtyyq
2024-01-27 11:10:15 [I] loader apply plugin driftbottle:j6dwa6
2024-01-27 11:10:15 [I] loader apply plugin theme-material:ucwsv6
2024-01-27 11:10:15 [I] loader apply plugin mc-server-status:uoo72b
2024-01-27 11:10:15 [I] loader apply plugin group:goiurp
2024-01-27 11:10:15 [I] loader apply plugin dialogue:7j1rdz
2024-01-27 11:10:15 [I] loader apply plugin httpcat:0g282i
2024-01-27 11:10:15 [I] loader apply plugin broadcast:2rbuex
2024-01-27 11:10:15 [I] loader apply plugin downloads:1pnxay
2024-01-27 11:10:16 [I] assets missing config "selfUrl", fallback to "file:" scheme
2024-01-27 11:10:16 [E] app TypeError [ERR_INVALID_ARG_VALUE]: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received undefined
                            at new NodeError (node:internal/errors:405:5)
                            at createRequire (node:internal/modules/cjs/loader:1375:11)
                            at new NodeConsole (/root/koishi/koishi-308/node_modules/@koishijs/plugin-console/lib/node/index.js:75:54)
                            at _MainScope.apply (/root/koishi/koishi-308/node_modules/cordis/lib/index.cjs:536:24)
                            at /root/koishi/koishi-308/node_modules/cordis/lib/index.cjs:558:36
                            at _MainScope.ensure (/root/koishi/koishi-308/node_modules/cordis/lib/index.cjs:311:18)
                            at _MainScope.start (/root/koishi/koishi-308/node_modules/cordis/lib/index.cjs:558:12)
                            at _MainScope.init (/root/koishi/koishi-308/node_modules/cordis/lib/index.cjs:358:12)
                            at new MainScope (/root/koishi/koishi-308/node_modules/cordis/lib/index.cjs:486:12)
                            at Proxy.plugin (/root/koishi/koishi-308/node_modules/cordis/lib/index.cjs:671:15)
2024-01-27 11:10:16 [I] server server listening at http://0.0.0.0:5140
2024-01-27 11:10:16 [I] console webui is available at http://127.0.0.1:5140
2024-01-27 11:10:16 [I] mysql auto updating table user
2024-01-27 11:10:17 [W] mysql > ALTER TABLE `user` CHANGE `authority` `authority` int unsigned null
2024-01-27 11:10:17 [E] app ER_TRUNCATED_WRONG_VALUE: Incorrect datetime value: '0000-00-00 00:00:00.000' for column 'createdAt' at row 2
                            at _MySQLDriver.query (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:434:19)
                            at _MySQLDriver.prepare (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:386:18)
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:597:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)
                            at async Promise.all (index 0)
                            at async Proxy.prepared (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:579:5)
                            at async _Selection.execute (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:455:5)
                            at async _Admin.start (/root/koishi/koishi-308/node_modules/@koishijs/plugin-admin/lib/index.js:228:19)
                            at async /root/koishi/koishi-308/node_modules/cordis/lib/index.cjs:939:7

  TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined
      at new NodeError (node:internal/errors:405:5)
      at validateString (node:internal/validators:162:11)
      at resolve (node:path:1097:7)
      at /root/koishi/koishi-308/node_modules/@koishijs/plugin-console/lib/node/index.js:184:48
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async bodyParser (/root/koishi/koishi-308/node_modules/koa-bodyparser/index.js:78:5)


  TypeError [ERR_INVALID_ARG_TYPE]: The "paths[0]" argument must be of type string. Received undefined
      at new NodeError (node:internal/errors:405:5)
      at validateString (node:internal/validators:162:11)
      at resolve (node:path:1097:7)
      at /root/koishi/koishi-308/node_modules/@koishijs/plugin-console/lib/node/index.js:184:48
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async bodyParser (/root/koishi/koishi-308/node_modules/koa-bodyparser/index.js:78:5)

(router我自己瞎加的,应该不影响x

3 个赞

新版本可能有延迟,你可以稍后再试一次。

3 个赞

通过 package.json 回退 koishiconsole 各1小版本,该错误暂时消失
我等一会刷新依赖管理

3 个赞

额,是指console吗?确实新了

3 个赞

哦我又发现了一些问题,稍等

4 个赞

尝试更新一下 5.26.4

4 个赞
好快的修
PS C:\Users\5800h\Desktop\work\temp\koishi-app> yarn
➤ YN0000: · Yarn 4.0.1
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + @koishijs/plugin-console@npm:5.26.4, @koishijs/console@npm:5.26.4
➤ YN0085: │ - @koishijs/plugin-console@npm:5.26.3
➤ YN0000: └ Completed in 0s 829ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 2 packages were added to the project (+ 1.86 MiB).
➤ YN0000: └ Completed in 0s 644ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 233ms
➤ YN0000: · Done in 1s 812ms
PS C:\Users\5800h\Desktop\work\temp\koishi-app> yarn start
2024-01-27 11:35:35 [I] app Koishi/4.16.7
2024-01-27 11:35:35 [I] loader apply plugin group:entry
2024-01-27 11:35:35 [I] loader apply plugin group:server
2024-01-27 11:35:35 [I] loader apply plugin server:aglt1h
2024-01-27 11:35:35 [I] loader apply plugin group:basic
2024-01-27 11:35:35 [I] loader apply plugin commands:7x949q
2024-01-27 11:35:35 [I] loader apply plugin help:x2bl8m
2024-01-27 11:35:35 [I] loader apply plugin locales:ie5gew
2024-01-27 11:35:35 [I] loader apply plugin rate-limit:6ja8sq
2024-01-27 11:35:35 [I] loader apply plugin telemetry:bzyzf5
2024-01-27 11:35:35 [I] loader apply plugin group:console
2024-01-27 11:35:35 [I] loader apply plugin actions:fioz9x
2024-01-27 11:35:35 [I] loader apply plugin analytics:7evdi7
2024-01-27 11:35:35 [I] loader apply plugin config:am7nym
2024-01-27 11:35:35 [I] loader apply plugin console:kexk07
2024-01-27 11:35:35 [I] loader apply plugin dataview:yq1dng
2024-01-27 11:35:35 [I] loader apply plugin explorer:kdpzcl
2024-01-27 11:35:35 [I] loader apply plugin logger:qnlqde
2024-01-27 11:35:35 [I] loader apply plugin insight:opant7
2024-01-27 11:35:35 [I] loader apply plugin market:1gnll4
2024-01-27 11:35:35 [I] loader apply plugin notifier:cx4ea3
2024-01-27 11:35:35 [I] loader apply plugin oobe:f2zjcf
2024-01-27 11:35:35 [I] loader apply plugin sandbox:k7heby
2024-01-27 11:35:35 [I] loader apply plugin status:bqsu5w
2024-01-27 11:35:35 [I] loader apply plugin theme-vanilla:xyy5nk
2024-01-27 11:35:35 [I] loader apply plugin group:storage
2024-01-27 11:35:35 [I] loader apply plugin database-sqlite:qfqx0l
2024-01-27 11:35:35 [I] loader apply plugin assets-local:ma8azt
2024-01-27 11:35:35 [I] loader apply plugin group:adapter
2024-01-27 11:35:35 [I] assets missing config "selfUrl", fallback to "file:" scheme
2024-01-27 11:35:35 [I] server server listening at http://127.0.0.1:5140
2024-01-27 11:35:35 [I] console webui is available at http://127.0.0.1:5140
2024-01-27 11:35:35 [I] sqlite auto creating table analytics.message
2024-01-27 11:35:35 [I] sqlite auto creating table analytics.command
3 个赞

好耶,感谢 @shigma

3 个赞

额,还有顺便问下

2024-01-27 11:35:34 [I] console webui is available at http://127.0.0.1:5140
2024-01-27 11:35:34 [I] auth creating admin account
2024-01-27 11:35:36 [I] mysql auto updating table user
2024-01-27 11:35:37 [W] mysql > ALTER TABLE `user` CHANGE `authority` `authority` int unsigned null
2024-01-27 11:35:37 [E] app ER_TRUNCATED_WRONG_VALUE: Incorrect datetime value: '0000-00-00 00:00:00.000' for column 'createdAt' at row 2
                            at _MySQLDriver.query (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:434:19)
                            at _MySQLDriver.prepare (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:386:18)
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:597:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)
2024-01-27 11:35:37 [E] app ER_TRUNCATED_WRONG_VALUE: Incorrect datetime value: '0000-00-00 00:00:00.000' for column 'createdAt' at row 2
                            at _MySQLDriver.query (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:434:19)
                            at _MySQLDriver.prepare (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:386:18)
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:597:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)
2024-01-27 11:36:54 [W] console ER_TRUNCATED_WRONG_VALUE: Incorrect datetime value: '0000-00-00 00:00:00.000' for column 'createdAt' at row 2
                            at _MySQLDriver.query (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:434:19)
                            at _MySQLDriver.prepare (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:386:18)
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:597:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)
2024-01-27 11:36:54 [W] console ER_TRUNCATED_WRONG_VALUE: Incorrect datetime value: '0000-00-00 00:00:00.000' for column 'createdAt' at row 2
                            at _MySQLDriver.query (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:434:19)
                            at _MySQLDriver.prepare (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:386:18)
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:597:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)
2024-01-27 11:36:54 [W] console ER_TRUNCATED_WRONG_VALUE: Incorrect datetime value: '0000-00-00 00:00:00.000' for column 'createdAt' at row 2
                            at _MySQLDriver.query (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:434:19)
                            at _MySQLDriver.prepare (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:386:18)
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:597:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)
2024-01-27 11:36:54 [W] app ER_TRUNCATED_WRONG_VALUE: Incorrect datetime value: '0000-00-00 00:00:00.000' for column 'createdAt' at row 2
                            at _MySQLDriver.query (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:434:19)
                            at _MySQLDriver.prepare (/root/koishi/koishi-308/node_modules/@minatojs/driver-mysql/lib/index.js:386:18)
                            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:597:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)
                            at async Proxy.prepare (/root/koishi/koishi-308/node_modules/@minatojs/core/lib/index.cjs:593:5)

这坨史是需要我把 analytics 表drop掉吗?

3 个赞

不需要,这个问题我之后研究,目前应该不影响使用。

3 个赞