无法打开koishi的页面

系统:
image

1 个赞

这是日志内容:
0000|3|2023-05-05 00:44:21 [D] launcher 触发操作:运行用户界面
0000|3|2023-05-05 00:44:21 [D] launcher 触发操作:运行
0000|3|2023-05-05 00:44:21 [D] launcher Starting KoiShell process.
arg: map[string]interface {}{“buttonCount”:1, “mode”:“dialog”, “style”:“info”, “text1”:“Koishi is already running.”, “text2”:“You can find the Koishi icon from notification area. Tap the Koishi icon to perform action.”, “title”:“Already Running”}
argJson: {“buttonCount”:1,“mode”:“dialog”,“style”:“info”,“text1”:“Koishi is already running.”,“text2”:“You can find the Koishi icon from notification area. Tap the Koishi icon to perform action.”,“title”:“Already Running”}
argB64: eyJidXR0b25Db3VudCI6MSwibW9kZSI6ImRpYWxvZyIsInN0eWxlIjoiaW5mbyIsInRleHQxIjoiS29pc2hpIGlzIGFscmVhZHkgcnVubmluZy4iLCJ0ZXh0MiI6IllvdSBjYW4gZmluZCB0aGUgS29pc2hpIGljb24gZnJvbSBubpZmljYXRpb24gYXJlYS4gVGFwIHRoZSBLb2lzaGkgaWNvbiB0byBwZXJmbtIGFjdGlvbi4iLCJ0aXRsZSI6IkFscmVhZHkgUnVubmluZyJ9
0000|3|2023-05-05 00:44:22 [D] launcher KoiShell successfully exited.
0000|1|2023-05-05 00:44:22 [E] launcher tray running, PID=20464
0000|3|2023-05-05 21:26: [D] launcher 触发操作:运行
0000|3|2023-05-05 21:26: [D] launcher 触发操作:运行用户界面
0000|3|2023-05-05 21:26: [D] launcher Writing tray.lock…
0000|3|2023-05-05 21:26: [D] launcher 托盘已就绪。
0000|3|2023-05-05 21:26:42 [D] launcher 触发操作:运行服务
0000|2|2023-05-05 21:26:42 [I] launcher 正在启动这些实例:
default
0000|3|2023-05-05 21:26:42 [D] launcher Writing daemon.lock…
0000|3|2023-05-05 21:26:42 [D] launcher Serving daemon…
1000|2|2023-05-05 21:26:44 [I] app Koishi/4.12.6
1000|2| at NodeLoader.createApp (C:\Users\user\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\loader\lib\shared.js:261:74)
1000|2|2023-05-05 21:26:44 [E] app TypeError: Cannot read properties of undefined (reading ‘plugins’)
1000|2| at start (C:\Users\user\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\koishi\lib\worker\index.js:169:28)
0000|2|2023-05-05 21:26:44 [W] launcher Instance default exited with: exit status 1.
0000|3|2023-05-05 21:26:46 [D] launcher Client connected at 127.0.0.1:51593
0000|3|2023-05-05 21:26:46 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21:26:46 [D] launcher Send pong back
0000|3|2023-05-05 21:26:46 [D] launcher Client connected at 127.0.0.1:51594
0000|3|2023-05-05 21:26:46 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21:26:46 [D] launcher Send pong back
0000|3|2023-05-05 21:26:46 [D] launcher Client connected at 127.0.0.1:51595
0000|3|2023-05-05 21:26:46 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21:26:46 [D] launcher Parsed command: ps
0000|3|2023-05-05 21:26:46 [D] launcher Acquired task 1
0001|3|2023-05-05 21:26:46 [D] launcher Trigger KoiCmd ps
0000|3|2023-05-05 21:26:46 [D] launcher Releasing task 1
0000|3|2023-05-05 21:26:54 [D] launcher 正在启动实例 default
0000|3|2023-05-05 21:26:54 [D] launcher Client connected at 127.0.0.1:51597
0000|3|2023-05-05 21:26:54 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21:26:54 [D] launcher Send pong back
0000|3|2023-05-05 21:26:54 [D] launcher Client connected at 127.0.0.1:51598
0000|3|2023-05-05 21:26:54 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21:26:54 [D] launcher Parsed command: start
0000|3|2023-05-05 21:26:54 [D] launcher Acquired task 2
0002|3|2023-05-05 21:26:54 [D] launcher Trigger KoiCmd start
0002|2|2023-05-05 21:26:54 [I] launcher Starting instance default…
0000|3|2023-05-05 21:26:54 [D] launcher Releasing task 2
1000|2|2023-05-05 21:26:55 [I] app Koishi/4.12.6
1000|2| at NodeLoader.createApp (C:\Users\user\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\loader\lib\shared.js:261:74)
1000|2|2023-05-05 21:26:55 [E] app TypeError: Cannot read properties of undefined (reading ‘plugins’)
1000|2| at start (C:\Users\user\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\koishi\lib\worker\index.js:169:28)
0000|2|2023-05-05 21:26:55 [W] launcher Instance default exited with: exit status 1.
0000|3|2023-05-05 21:26:56 [D] launcher 正在重建托盘
0000|3|2023-05-05 21:26:56 [D] launcher Client connected at 127.0.0.1:51600
0000|3|2023-05-05 21:26:56 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21:26:56 [D] launcher Send pong back
0000|3|2023-05-05 21:26:56 [D] launcher Client connected at 127.0.0.1:51601
0000|3|2023-05-05 21:26:56 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21:26:56 [D] launcher Parsed command: ps
0000|3|2023-05-05 21:26:56 [D] launcher Acquired task 3
0003|3|2023-05-05 21:26:56 [D] launcher Trigger KoiCmd ps
0000|3|2023-05-05 21:26:56 [D] launcher Releasing task 3
0000|3|2023-05-05 21:27:08 [D] launcher 正在启动服务
0000|3|2023-05-05 21:27:08 [D] launcher 触发操作:运行服务
0000|1|2023-05-05 21:27:08 [E] launcher god daemon running, PID=14692
Cannot start another god daemon when there’s already one.
If that daemon crashes, use ‘koi daemon start’ to fix it.
If you just want to restart daemon, use ‘koi daemon restart’
0000|3|2023-05-05 21:27:12 [D] launcher 正在启动实例 default
0000|3|2023-05-05 21:27:12 [D] launcher Client connected at 127.0.0.1:51605
0000|3|2023-05-05 21:27:12 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21:27:12 [D] launcher Send pong back
0000|3|2023-05-05 21:27:12 [D] launcher Client connected at 127.0.0.1:51606
0000|3|2023-05-05 21:27:12 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21:27:12 [D] launcher Parsed command: start
0000|3|2023-05-05 21:27:12 [D] launcher Acquired task 4
0004|3|2023-05-05 21:27:12 [D] launcher Trigger KoiCmd start
0004|2|2023-05-05 21:27:12 [I] launcher Starting instance default…
0000|3|2023-05-05 21:27:12 [D] launcher Releasing task 4
0000|3|2023-05-05 21:27:12 [D] launcher 正在重建托盘
0000|3|2023-05-05 21:27:12 [D] launcher Client connected at 127.0.0.1:51608
0000|3|2023-05-05 21:27:12 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21:27:12 [D] launcher Send pong back
0000|3|2023-05-05 21:27:12 [D] launcher Client connected at 127.0.0.1:51609
0000|3|2023-05-05 21:27:12 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21:27:12 [D] launcher Parsed command: ps
0000|3|2023-05-05 21:27:12 [D] launcher Acquired task 5
0005|3|2023-05-05 21:27:12 [D] launcher Trigger KoiCmd ps
0000|3|2023-05-05 21:27:12 [D] launcher Releasing task 5
1000|2|2023-05-05 21:27:14 [I] app Koishi/4.12.6
0000|3|2023-05-05 21:27:14 [D] launcher 正在重建托盘
0000|3|2023-05-05 21:27:14 [D] launcher Client connected at 127.0.0.1:51614
0000|3|2023-05-05 21:27:14 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21:27:14 [D] launcher Send pong back
0000|3|2023-05-05 21:27:14 [D] launcher Client connected at 127.0.0.1:51615
0000|3|2023-05-05 21:27:14 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21:27:14 [D] launcher Parsed command: ps
0000|3|2023-05-05 21:27:14 [D] launcher Acquired task 6
0006|3|2023-05-05 21:27:14 [D] launcher Trigger KoiCmd ps
0000|3|2023-05-05 21:27:14 [D] launcher Releasing task 6
1000|2| at NodeLoader.createApp (C:\Users\user\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\loader\lib\shared.js:261:74)
1000|2|2023-05-05 21:27:14 [E] app TypeError: Cannot read properties of undefined (reading ‘plugins’)
1000|2| at start (C:\Users\user\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\koishi\lib\worker\index.js:169:28)
0000|2|2023-05-05 21:27:14 [W] launcher Instance default exited with: exit status 1.
0000|3|2023-05-05 21:27:27 [D] launcher 触发操作:运行用户界面
0000|3|2023-05-05 21:27:27 [D] launcher 触发操作:运行
0000|3|2023-05-05 21:27:27 [D] launcher Writing tray.lock…
0000|3|2023-05-05 21:27:27 [D] launcher 托盘已就绪。
0000|3|2023-05-05 21:27:27 [D] launcher Client connected at 127.0.0.1:51624
0000|3|2023-05-05 21:27:27 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21:27:27 [D] launcher Send pong back
0000|3|2023-05-05 21:27:28 [D] launcher Client connected at 127.0.0.1:51625
0000|3|2023-05-05 21:27:28 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21:27:28 [D] launcher Send pong back
0000|3|2023-05-05 21:27:28 [D] launcher Client connected at 127.0.0.1:51626
0000|3|2023-05-05 21:27:28 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21:27:28 [D] launcher Parsed command: ps
0007|3|2023-05-05 21:27:28 [D] launcher Trigger KoiCmd ps
0000|3|2023-05-05 21:27:28 [D] launcher Acquired task 7
0000|3|2023-05-05 21:27:28 [D] launcher Releasing task 7
0000|3|2023-05-05 21:27:48 [D] launcher 正在启动实例 default
0000|3|2023-05-05 21:27:48 [D] launcher Client connected at 127.0.0.1:516
0000|3|2023-05-05 21:27:48 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21:27:48 [D] launcher Send pong back
0000|3|2023-05-05 21:27:48 [D] launcher Client connected at 127.0.0.1:516
0000|3|2023-05-05 21:27:48 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21:27:48 [D] launcher Parsed command: start
0000|3|2023-05-05 21:27:48 [D] launcher Acquired task 8
0008|2|2023-05-05 21:27:48 [I] launcher Starting instance default…
0008|3|2023-05-05 21:27:48 [D] launcher Trigger KoiCmd start
0000|3|2023-05-05 21:27:48 [D] launcher Releasing task 8
1000|2|2023-05-05 21:27:49 [I] app Koishi/4.12.6
1000|2| at NodeLoader.createApp (C:\Users\user\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\loader\lib\shared.js:261:74)
1000|2|2023-05-05 21:27:49 [E] app TypeError: Cannot read properties of undefined (reading ‘plugins’)
1000|2| at start (C:\Users\user\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\koishi\lib\worker\index.js:169:28)
0000|2|2023-05-05 21:27:49 [W] launcher Instance default exited with: exit status 1.
0000|3|2023-05-05 21:27:50 [D] launcher 正在重建托盘
0000|3|2023-05-05 21:27:50 [D] launcher Client connected at 127.0.0.1:516
0000|3|2023-05-05 21:27:50 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21:27:50 [D] launcher Send pong back
0000|3|2023-05-05 21:27:50 [D] launcher Client connected at 127.0.0.1:516
0000|3|2023-05-05 21:27:50 [D] launcher Parsed command: ps
0000|3|2023-05-05 21:27:50 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21:27:50 [D] launcher Acquired task 9
0009|3|2023-05-05 21:27:50 [D] launcher Trigger KoiCmd ps
0000|3|2023-05-05 21:27:50 [D] launcher Releasing task 9
0000|3|2023-05-05 21::54 [D] launcher 正在启动实例 default
0000|3|2023-05-05 21::54 [D] launcher Client connected at 127.0.0.1:51653
0000|3|2023-05-05 21::54 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21::54 [D] launcher Send pong back
0000|3|2023-05-05 21::54 [D] launcher Client connected at 127.0.0.1:51654
0000|3|2023-05-05 21::54 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21::54 [D] launcher Parsed command: start
0000|3|2023-05-05 21::54 [D] launcher Acquired task 10
0010|2|2023-05-05 21::54 [I] launcher Starting instance default…
0010|3|2023-05-05 21::54 [D] launcher Trigger KoiCmd start
0000|3|2023-05-05 21::54 [D] launcher Releasing task 10
1000|2|2023-05-05 21::55 [I] app Koishi/4.12.6
1000|2|2023-05-05 21::55 [E] app TypeError: Cannot read properties of undefined (reading ‘plugins’)
1000|2| at NodeLoader.createApp (C:\Users\user\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\loader\lib\shared.js:261:74)
1000|2| at start (C:\Users\user\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\koishi\lib\worker\index.js:169:28)
0000|2|2023-05-05 21::55 [W] launcher Instance default exited with: exit status 1.
0000|3|2023-05-05 21::56 [D] launcher 正在重建托盘
0000|3|2023-05-05 21::56 [D] launcher Client connected at 127.0.0.1:51655
0000|3|2023-05-05 21::56 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21::56 [D] launcher Send pong back
0000|3|2023-05-05 21::56 [D] launcher Client connected at 127.0.0.1:51656
0000|3|2023-05-05 21::56 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21::56 [D] launcher Parsed command: ps
0000|3|2023-05-05 21::56 [D] launcher Acquired task 11
0011|3|2023-05-05 21::56 [D] launcher Trigger KoiCmd ps
0000|3|2023-05-05 21::56 [D] launcher Releasing task 11
0000|3|2023-05-05 21::09 [D] launcher 触发操作:运行
0000|3|2023-05-05 21::09 [D] launcher 触发操作:运行用户界面
0000|3|2023-05-05 21::09 [D] launcher Starting KoiShell process.
arg: map[string]interface {}{“buttonCount”:1, “mode”:“dialog”, “style”:“info”, “text1”:“Koishi is already running.”, “text2”:“You can find the Koishi icon from notification area. Tap the Koishi icon to perform action.”, “title”:“Already Running”}
argJson: {“buttonCount”:1,“mode”:“dialog”,“style”:“info”,“text1”:“Koishi is already running.”,“text2”:“You can find the Koishi icon from notification area. Tap the Koishi icon to perform action.”,“title”:“Already Running”}
argB64: eyJidXR0b25Db3VudCI6MSwibW9kZSI6ImRpYWxvZyIsInN0eWxlIjoiaW5mbyIsInRleHQxIjoiS29pc2hpIGlzIGFscmVhZHkgcnVubmluZy4iLCJ0ZXh0MiI6IllvdSBjYW4gZmluZCB0aGUgS29pc2hpIGljb24gZnJvbSBubpZmljYXRpb24gYXJlYS4gVGFwIHRoZSBLb2lzaGkgaWNvbiB0byBwZXJmbtIGFjdGlvbi4iLCJ0aXRsZSI6IkFscmVhZHkgUnVubmluZyJ9
0000|1|2023-05-05 21::12 [E] launcher tray running, PID=14416
0000|3|2023-05-05 21::12 [D] launcher KoiShell successfully exited.
0000|3|2023-05-05 21::16 [D] launcher 正在启动实例 default
0000|3|2023-05-05 21::16 [D] launcher Client connected at 127.0.0.1:51667
0000|3|2023-05-05 21::16 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21::16 [D] launcher Send pong back
0000|3|2023-05-05 21::16 [D] launcher Client connected at 127.0.0.1:51668
0000|3|2023-05-05 21::16 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21::16 [D] launcher Parsed command: start
0000|3|2023-05-05 21::16 [D] launcher Acquired task 12
0012|3|2023-05-05 21::16 [D] launcher Trigger KoiCmd start
0012|2|2023-05-05 21::16 [I] launcher Starting instance default…
0000|3|2023-05-05 21::16 [D] launcher Releasing task 12
1000|2|2023-05-05 21::17 [I] app Koishi/4.12.6
1000|2|2023-05-05 21::17 [E] app TypeError: Cannot read properties of undefined (reading ‘plugins’)
1000|2| at start (C:\Users\user\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\koishi\lib\worker\index.js:169:28)
1000|2| at NodeLoader.createApp (C:\Users\user\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules@koishijs\loader\lib\shared.js:261:74)
0000|2|2023-05-05 21::17 [W] launcher Instance default exited with: exit status 1.
0000|3|2023-05-05 21::18 [D] launcher 正在重建托盘
0000|3|2023-05-05 21::18 [D] launcher Client connected at 127.0.0.1:51669
0000|3|2023-05-05 21::18 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21::18 [D] launcher Send pong back
0000|3|2023-05-05 21::18 [D] launcher Client connected at 127.0.0.1:51670
0000|3|2023-05-05 21::18 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21::18 [D] launcher Parsed command: ps
0000|3|2023-05-05 21::18 [D] launcher Acquired task 13
0013|3|2023-05-05 21::18 [D] launcher Trigger KoiCmd ps
0000|3|2023-05-05 21::18 [D] launcher Releasing task 13
0000|3|2023-05-05 21::15 [D] launcher 触发操作:运行用户界面
0000|3|2023-05-05 21::15 [D] launcher 触发操作:运行
0000|3|2023-05-05 21::15 [D] launcher Writing tray.lock…
0000|3|2023-05-05 21::15 [D] launcher 托盘已就绪。
0000|3|2023-05-05 21::15 [D] launcher Client connected at 127.0.0.1:51684
0000|3|2023-05-05 21::15 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21::15 [D] launcher Send pong back
0000|3|2023-05-05 21::15 [D] launcher Client connected at 127.0.0.1:51685
0000|3|2023-05-05 21::15 [D] launcher Parsed request type: ping
0000|3|2023-05-05 21::15 [D] launcher Send pong back
0000|3|2023-05-05 21::15 [D] launcher Client connected at 127.0.0.1:51686
0000|3|2023-05-05 21::15 [D] launcher Parsed request type: cmd
0000|3|2023-05-05 21::15 [D] launcher Parsed command: ps
0000|3|2023-05-05 21::15 [D] launcher Acquired task 14
0014|3|2023-05-05 21::15 [D] launcher Trigger KoiCmd ps
0000|3|2023-05-05 21::15 [D] launcher Releasing task 14
0000|3|2023-05-05 21::58 [D] launcher 正在打开数据文件夹
0000|3|2023-05-05 21:46:03 [D] launcher 触发操作:运行
0000|3|2023-05-05 21:46:03 [D] launcher 触发操作:运行用户界面
0000|3|2023-05-05 21:46:03 [D] launcher Starting KoiShell process.
arg: map[string]interface {}{“buttonCount”:1, “mode”:“dialog”, “style”:“info”, “text1”:“Koishi is already running.”, “text2”:“You can find the Koishi icon from notification area. Tap the Koishi icon to perform action.”, “title”:“Already Running”}
argJson: {“buttonCount”:1,“mode”:“dialog”,“style”:“info”,“text1”:“Koishi is already running.”,“text2”:“You can find the Koishi icon from notification area. Tap the Koishi icon to perform action.”,“title”:“Already Running”}
argB64: eyJidXR0b25Db3VudCI6MSwibW9kZSI6ImRpYWxvZyIsInN0eWxlIjoiaW5mbyIsInRleHQxIjoiS29pc2hpIGlzIGFscmVhZHkgcnVubmluZy4iLCJ0ZXh0MiI6IllvdSBjYW4gZmluZCB0aGUgS29pc2hpIGljb24gZnJvbSBubpZmljYXRpb24gYXJlYS4gVGFwIHRoZSBLb2lzaGkgaWNvbiB0byBwZXJmbtIGFjdGlvbi4iLCJ0aXRsZSI6IkFscmVhZHkgUnVubmluZyJ9
0000|3|2023-05-05 21:46:04 [D] launcher KoiShell successfully exited.
0000|1|2023-05-05 21:46:04 [E] launcher tray running, PID=18980
0000|3|2023-05-05 21:54:26 [D] launcher 正在打开终端
0000|3|2023-05-05 21:54: [D] launcher 正在打开数据文件夹
0000|3|2023-05-05 21:56:01 [D] launcher 正在打开数据文件夹

1 个赞

你点开 Koishi 以后就应该可以看到「Koishi 正在跑路」的对话框啊,没有看到吗?

后台是有在运行的,但是打不开koishi的控制页面

1 个赞

看到了,你这个情况应该是错误地改动了配置,导致配置文件被清空了

可以参考这个贴双清之后重装:

1 个赞

感谢大佬

1 个赞

问一下大佬 我这个问题是不是因为有下一些危险插件导致的??

1 个赞

也许是
不过,正常运行的koishi肯定不会把自己配置文件删掉

1 个赞

尽量将 Koishi 和插件都更新到最新版本,可以避免 bug(比如删掉配置文件就是一个旧版本的 bug)。

1 个赞