在启动时报错。

如图。


环境信息:

System:
    OS: Windows 10 10.0.20348
    CPU: (2) x64 QEMU Virtual CPU version 2.5+

Binaries:
    Node: 16.19.1
    Yarn: 3.5.0

Koishi:
    Core: 4.16.1
    Console: 5.20.1
    Koishi Desktop: 0.10.7

报错:

2023-12-21 20:50:21 [W] app SystemError [ERR_FS_EISDIR]: Path is a directory: cp returned EISDIR (\\?\C:\Users\Administrator\AppData\Roaming\Koishi\Desktop\data\instances\default\public is a directory (not copied)) \\?\C:\Users\Administrator\AppData\Roaming\Koishi\Desktop\data\instances\default\public
                            at new SystemError (node:internal/errors:238:5)
                            at new NodeError (node:internal/errors:349:7)
                            at getStatsForCopy (node:internal/fs/cp/cp:211:11)
                            at async LocalAssets._start (C:\Users\Administrator\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\koishi-plugin-assets-local\lib\index.js:46:13)
1 个赞

这个报错应当只会影响 assets-local 插件,或不影响任何插件。可以安全忽略。

1 个赞