koishi无法安装插件

错误信息
2023-05-30 22:04:58 [I] market ➤ YN0050: The --registry option is deprecated; prefer setting npmRegistryServer in your .yarnrc.yml file
2023-05-30 22:04:58 [I] market ➤ YN0000: ┌ Resolution step
2023-05-30 22:04:58 [I] market at ge (C:\Program Files\Koishi1\bin\yarn.cjs:439:7784)
2023-05-30 22:04:58 [I] market ➤ YN0001: │ Error: koishi-plugin-steam-trading@npm:1.2.6: No candidates found
2023-05-30 22:04:58 [I] market at processTicksAndRejections (node:internal/process/task_queues:96:5)
2023-05-30 22:04:58 [I] market ➤ YN0000: Failed with errors in 0s 487ms
2023-05-30 22:04:58 [I] market ➤ YN0000: └ Completed in 0s 480ms
2023-05-30 22:04:59 [I] market ➤ YN0032: fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
2023-05-30 22:04:59 [I] market ➤ YN0061: @npmcli/move-file@npm:2.0.1 is deprecated: This functionality has been moved to @npmcli/fs
2023-05-30 22:05:39 [I] market ➤ YN0050: The --registry option is deprecated; prefer setting npmRegistryServer in your .yarnrc.yml file
2023-05-30 22:05:39 [I] market ➤ YN0000: ┌ Resolution step
2023-05-30 22:05:40 [I] market ➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
2023-05-30 22:05:40 [I] market at processTicksAndRejections (node:internal/process/task_queues:96:5)
2023-05-30 22:05:40 [I] market at ge (C:\Program Files\Koishi1\bin\yarn.cjs:439:7784)
2023-05-30 22:05:40 [I] market ➤ YN0000: └ Completed in 0s 579ms
2023-05-30 22:05:40 [I] market ➤ YN0001: │ Error: koishi-plugin-steam-trading@npm:1.2.6: No candidates found
2023-05-30 22:05:40 [I] market ➤ YN0000: Failed with errors in 0s 585ms
2023-05-30 22:05:40 [I] market ➤ YN0061: @npmcli/move-file@npm:2.0.1 is deprecated: This functionality has been moved to @npmcli/fs
2023-05-30 22:06:02 [I] market ➤ YN0050: The --registry option is deprecated; prefer setting npmRegistryServer in your .yarnrc.yml file
2023-05-30 22:06:02 [I] market ➤ YN0000: ┌ Resolution step
2023-05-30 22:06:03 [I] market ➤ YN0032: │ fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged
2023-05-30 22:06:03 [I] market ➤ YN0001: │ Error: koishi-plugin-steam-trading@npm:1.2.6: No candidates found
2023-05-30 22:06:03 [I] market at processTicksAndRejections (node:internal/process/task_queues:96:5)
2023-05-30 22:06:03 [I] market at ge (C:\Program Files\Koishi1\bin\yarn.cjs:439:7784)
2023-05-30 22:06:03 [I] market ➤ YN0000: Failed with errors in 0s 673ms
2023-05-30 22:06:03 [I] market ➤ YN0000: └ Completed in 0s 668ms
2023-05-30 22:06:03 [I] market ➤ YN0061: @npmcli/move-file@npm:2.0.1 is deprecated: This functionality has been moved to @npmcli/fs

GPT给出的回答是
这是一段命令行的日志,记录着在运行一个叫做 market 的应用程序时出现的错误信息。其中最主要的错误信息是“Error: koishi-plugin-steam-trading@npm:1.2.6: No candidates found”,意思是未能找到 koishi-plugin-steam-trading 1.2.6 版本的依赖项,导致应用无法正常运行。日志中还包含一些不影响应用程序的警告信息,例如“–registry option is deprecated; prefer setting npmRegistryServer in your .yarnrc.yml file”、“fsevents@npm:2.3.2: Implicit dependencies on node-gyp are discouraged”、“@npmcli/move-file@npm:2.0.1 is deprecated: This functionality has been moved to @npmcli/fs”等。

但是我看不懂
有大佬来教教我怎么解决吗?

1 个赞

koishi-plugin-steam-trading 包在 npmmirror 上还没有同步,即使 1.2.6 版本是在一个月前发布的,这很奇怪。我已经为您点击同步按钮,等待几分钟,然后重新安装即可解决此问题。

The package koishi-plugin-steam-trading has not been synchronized on npmmirror even the 1.2.6 version was published one month ago, that’s weird. I have click the sync button for you, wait for several minute and then install it again would solve this.

UPDATE: It have been synchronized successfully now!

1 个赞