我的koishi疑似跑路了( 'koishi' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 command not found: koishi

在点完小火箭后
koishi就开始一直重启
ctrl+c后,输入yarn start再次启动koishi
就发生了如下问题

C:\koishi\koishi-app>yarn start
'koishi' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
command not found: koishi

没有日志(启动都没启动

另一个koishi实例,使用yarn start可以照常启动

C:\koishi\koishi2>yarn start
2024-09-01 08:29:38 [I] app Koishi/4.17.10
2024-09-01 08:29:38 [I] loader apply plugin group:entry
2024-09-01 08:29:38 [I] loader apply plugin group:server
2024-09-01 08:29:38 [I] loader apply plugin server:u3192b
2024-09-01 08:29:38 [I] loader apply plugin server-temp:tfnc6u
2024-09-01 08:29:38 [I] loader apply plugin group:basic
2024-09-01 08:29:38 [I] loader apply plugin admin:ndblmd
2024-09-01 08:29:38 [I] loader apply plugin commands:wpk72t
2024-09-01 08:29:38 [I] loader apply plugin help:j92pbj
2024-09-01 08:29:38 [I] loader apply plugin http:glj71r
2024-09-01 08:29:38 [I] loader apply plugin inspect:o66zgc
2024-09-01 08:29:38 [I] loader apply plugin locales:1788ye
2024-09-01 08:29:38 [I] loader apply plugin proxy-agent:0fnptb
2024-09-01 08:29:38 [I] loader apply plugin rate-limit:auj2wj
2024-09-01 08:29:38 [I] loader apply plugin telemetry:evhws6
2024-09-01 08:29:39 [I] loader apply plugin group:console

:point_up_2:是另一个koishi实例可以照常启动的部分日志

我的koishi是跑了吗QWQ :skull:

1 个赞

什么系统? 推测:Windows,版本未知
使用什么方式安装Koishi?
另一个实例还未更新?
@dzt2008

2 个赞

抱歉,高中牲,刚回来

用的是,创建项目模板
是的,另一个实例未更新

2 个赞

在无法启动的实例
yarn install 一下?
@dzt2008

3 个赞

好的,活了
谢谢大佬,
(这久违的 欢迎使用koishi)

2 个赞

不是,啊?
还真是依赖爆了
运行 yarn install 时有什么日志吗发一下()

还有你记得小火箭的时候提示更新了哪些包吗?

2 个赞
C:\koishi\koishi-app>yarn install
➤ YN0088: A new stable version of Yarn is available: 4.5.0!
➤ YN0088: Upgrade now by running yarn set version 4.5.0

➤ YN0000: · Yarn 4.1.1
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 542ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ @cordisjs/plugin-http is listed by your project with version 0.6.2, which doesn't satisfy what koishi-plugin-memes-api (p69881) requests (~0.4.2).
➤ YN0060: │ @koishijs/client is listed by your project with version 5.29.2, which doesn't satisfy what @koishijs/plugin-console (pa469a) requests (^5.29.3).
➤ YN0060: │ koishi is listed by your project with version 4.17.12, which doesn't satisfy what koishi-plugin-shian (pfe75b) requests (4.17.3).
➤ YN0002: │ koishi-app@workspace:. doesn't provide @koishijs/loader (p3aed5), requested by @koishijs/plugin-config.
➤ YN0002: │ koishi-app@workspace:. doesn't provide @koishijs/loader (p97632), requested by @koishijs/plugin-hmr.
➤ YN0002: │ koishi-app@workspace:. doesn't provide cordis (pc9b22), requested by @cordisjs/plugin-http.
➤ YN0086: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 3s 283ms
➤ YN0000: ┌ Link step
➤ YN0007: │ sharp@npm:0.33.5 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 5s 591ms
➤ YN0000: · Done with warnings in 9s 685ms

更的包忘了,毕竟是半月前了((

2 个赞