日志有完整的吗
在哪看?
就在 koi 同目录下
路径刚好被挡了()
路径是C:\Users\Administrator\AppData\Roaming\Koishi\Desktop\data\logs
emm 真的重启过吗,重启了你的终端窗口不应该是开着的,实在不行可以试试:
- 右键小图标 → 高级 - 打开数据文件夹
- 打开
instances/default
- 删除
yarn.lock
文件 - 右键小图标 → 高级 - 打开终端
- 执行命令:
koi --debug yarn -n default install
启动不了力
QWQ
?
看看日志怎么说的,koishi 和 koi 的都看看,截图就行
0000|3|2023-07-10 10:18:24 [D] launcher 触发操作:运行
0000|3|2023-07-10 10:18:24 [D] launcher 配置解析成功。
0000|3|2023-07-10 10:18:24 [D] launcher 触发操作:运行用户界面
0000|3|2023-07-10 10:18:24 [D] launcher Writing tray.lock…
0000|3|2023-07-10 10:18:25 [D] launcher 托盘已就绪。
0000|2|2023-07-10 10:18:27 [I] launcher 正在启动这些实例:
1927
0000|3|2023-07-10 10:18:27 [D] launcher 触发操作:运行服务
0000|3|2023-07-10 10:18:27 [D] launcher Serving daemon…
0000|3|2023-07-10 10:18:27 [D] launcher Writing daemon.lock…
1000|2| at q0.getCandidates (C:\Program Files\Koishi\Desktop\bin\yarn.cjs:4:5145)
1000|2|Internal Error: @koishijs/boilerplate@workspace:.: This package doesn’t seem to be present in your lockfile; run “yarn install” to update the lockfile
1000|2| at C:\Program Files\Koishi\Desktop\bin\yarn.cjs:4:7693
1000|2| at xf.getCandidates (C:\Program Files\Koishi\Desktop\bin\yarn.cjs::1264)
1000|2| at ge (C:\Program Files\Koishi\Desktop\bin\yarn.cjs:4:7673)
1000|2| at ff (C:\Program Files\Koishi\Desktop\bin\yarn.cjs::11070)
1000|2| at processTicksAndRejections (node:internal/process/task_queues:96:5)
0000|2|2023-07-10 10:18:28 [W] launcher Instance 1927 exited with: exit status 1.
0000|3|2023-07-10 10:18: [D] launcher Client connected at 127.0.0.1:49866
0000|3|2023-07-10 10:18: [D] launcher Parsed request type: ping
0000|3|2023-07-10 10:18: [D] launcher Send pong back
0000|3|2023-07-10 10:18: [D] launcher Client connected at 127.0.0.1:49867
0000|3|2023-07-10 10:18: [D] launcher Parsed request type: ping
0000|3|2023-07-10 10:18: [D] launcher Send pong back
0000|3|2023-07-10 10:18: [D] launcher Client connected at 127.0.0.1:49868
0000|3|2023-07-10 10:18: [D] launcher Parsed command: ps
0000|3|2023-07-10 10:18: [D] launcher Parsed request type: cmd
0001|3|2023-07-10 10:18: [D] launcher Trigger KoiCmd ps
0000|3|2023-07-10 10:18: [D] launcher Acquired task 1
0000|3|2023-07-10 10:18: [D] launcher Releasing task 1
0000|3|2023-07-10 10:18: [D] launcher 正在重建托盘
0000|3|2023-07-10 10:18: [D] launcher Client connected at 127.0.0.1:49869
0000|3|2023-07-10 10:18: [D] launcher Parsed request type: ping
0000|3|2023-07-10 10:18: [D] launcher Send pong back
0000|3|2023-07-10 10:18: [D] launcher Client connected at 127.0.0.1:49870
0000|3|2023-07-10 10:18: [D] launcher Parsed command: ps
0000|3|2023-07-10 10:18: [D] launcher Parsed request type: cmd
0002|3|2023-07-10 10:18: [D] launcher Trigger KoiCmd ps
0000|3|2023-07-10 10:18: [D] launcher Acquired task 2
0000|3|2023-07-10 10:18: [D] launcher Releasing task 2
0000|3|2023-07-10 10:18: [D] launcher 正在启动实例 1927
0000|3|2023-07-10 10:18: [D] launcher Client connected at 127.0.0.1:49871
0000|3|2023-07-10 10:18: [D] launcher Parsed request type: ping
0000|3|2023-07-10 10:18: [D] launcher Send pong back
0000|3|2023-07-10 10:18: [D] launcher Client connected at 127.0.0.1:49872
0000|3|2023-07-10 10:18: [D] launcher Parsed command: start
0000|3|2023-07-10 10:18: [D] launcher Parsed request type: cmd
0003|3|2023-07-10 10:18: [D] launcher Trigger KoiCmd start
0000|3|2023-07-10 10:18: [D] launcher Acquired task 3
0003|2|2023-07-10 10:18: [I] launcher Starting instance 1927…
0000|3|2023-07-10 10:18: [D] launcher Releasing task 3
1000|2| at q0.getCandidates (C:\Program Files\Koishi\Desktop\bin\yarn.cjs:4:5145)
1000|2|Internal Error: @koishijs/boilerplate@workspace:.: This package doesn’t seem to be present in your lockfile; run “yarn install” to update the lockfile
1000|2| at C:\Program Files\Koishi\Desktop\bin\yarn.cjs:4:7693
1000|2| at xf.getCandidates (C:\Program Files\Koishi\Desktop\bin\yarn.cjs::1264)
1000|2| at ge (C:\Program Files\Koishi\Desktop\bin\yarn.cjs:4:7673)
1000|2| at ff (C:\Program Files\Koishi\Desktop\bin\yarn.cjs::11070)
1000|2| at processTicksAndRejections (node:internal/process/task_queues:96:5)
0000|2|2023-07-10 10:18: [W] launcher Instance 1927 exited with: exit status 1.
0000|3|2023-07-10 10:18: [D] launcher 正在重建托盘
0000|3|2023-07-10 10:18: [D] launcher Client connected at 127.0.0.1:49874
0000|3|2023-07-10 10:18: [D] launcher Parsed request type: ping
0000|3|2023-07-10 10:18: [D] launcher Send pong back
0000|3|2023-07-10 10:18: [D] launcher Client connected at 127.0.0.1:49875
0000|3|2023-07-10 10:18: [D] launcher Parsed command: ps
0000|3|2023-07-10 10:18: [D] launcher Parsed request type: cmd
0004|3|2023-07-10 10:18: [D] launcher Trigger KoiCmd ps
0000|3|2023-07-10 10:18: [D] launcher Acquired task 4
0000|3|2023-07-10 10:18: [D] launcher Releasing task 4
那除了 yarn.lock 你可能还需要删除 node_modules 文件夹,然后重新执行 koi --debug yarn -n default install --no-lockfile
一样 帖子必须至少为 3 个字符
哦原来你的实例名字叫这个啊,看到那些数字了吗,应该是你的机器人 qq 号?
把命令改一下:
koi --debug yarn -n 你的实例名字 install --no-lockfile
是的(
好了,谢谢
手机上的Windows?
奇怪