Closed initialencounter closed 7 months ago
@koishijs/plugin-server 的 index.js 使用了@cordisjs/server
@koishijs/plugin-server
在npm 上看不到依赖@cordisjs/server的包 似乎是没有将 @cordisjs/server 添加到 dependencies
使用 create-koishi@6.3.1 创建模板项目,安装依赖,启动koishi
-
2024-04-26 16:27:05 [I] loader apply plugin group:adapter 2024-04-26 16:27:05 [W] app Error: Cannot find module '@cordisjs/server' Require stack: - /root/test/koishi-app/node_modules/@koishijs/plugin-server/index.cjs - /root/test/koishi-app/node_modules/@koishijs/loader/lib/index.js - /root/test/koishi-app/node_modules/koishi/lib/worker/index.js at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) at Module._load (node:internal/modules/cjs/loader:985:27) at Module.require (node:internal/modules/cjs/loader:1235:19) at require (node:internal/modules/helpers:176:18) at Object.<anonymous> (/root/test/koishi-app/node_modules/@koishijs/plugin-server/index.cjs:1:18) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10) at Module.load (node:internal/modules/cjs/loader:1207:32) at Module._load (node:internal/modules/cjs/loader:1023:12) at Module.require (node:internal/modules/cjs/loader:1235:19) 2024-04-26 16:27:05 [I] sqlite auto creating table user
No response
Describe the bug
@koishijs/plugin-server
的 index.js 使用了@cordisjs/server在npm 上看不到依赖@cordisjs/server的包 似乎是没有将 @cordisjs/server 添加到 dependencies
Steps to reproduce
使用 create-koishi@6.3.1 创建模板项目,安装依赖,启动koishi
Expected behavior
-
Screenshots
Versions
Additional context
No response