使用 yarn dev
启动,控制台出现如下警告:
2024-08-09 10:24:09 [W] console Error: Command failed: wmic os get Caption
'wmic' is not recognized as an internal or external command,
operable program or batch file.
at y (D:\koishi-app\node_modules\envinfo\dist\envinfo.js:1:129897)
at e.exports.sync (D:\koishi-app\node_modules\envinfo\dist\envinfo.js:1:131766)
at e.exports (D:\koishi-app\node_modules\envinfo\dist\envinfo.js:1:128103)
at e.exports (D:\koishi-app\node_modules\envinfo\dist\envinfo.js:1:107007)
at D:\koishi-app\node_modules\envinfo\dist\envinfo.js:1:27846
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at Proxy._get (D:\koishi-app\node_modules\@koishijs\plugin-status\src\envinfo.ts:15:31)