chenyukang / obweb

ObWeb = Obsidian on Mobile + Flomo + Rss Reader
213 stars 22 forks source link

docker 部署报错 #11

Open maodeyu180 opened 1 month ago

maodeyu180 commented 1 month ago

局部截取_20241025_111724

maodeyu180 commented 1 month ago
[nodemon] 3.1.7
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,cjs,json
[nodemon] starting `node server.js`
node:internal/modules/cjs/loader:1143
  throw err;
  ^

Error: Cannot find module 'koa'
Require stack:
- /ob-web/backend/server.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
    at Module._load (node:internal/modules/cjs/loader:981:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/ob-web/backend/server.js:1:13)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/ob-web/backend/server.js' ]
}

是少什么东西吗?