yapi icon indicating copy to clipboard operation
yapi copied to clipboard

Cannot find module '/api/vendors/server/app.js'

Open mayan404 opened this issue 2 years ago • 1 comments

版本号

~ 1.83

什么问题

~ 这个yapi 的docker 是很早之前运行在服务器中的,突然就无法访问了,现在启动 yapi 的时候报如下错误。

internal/modules/cjs/loader.js:628 throw err; ^

Error: Cannot find module '/api/vendors/server/app.js' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15) at Function.Module._load (internal/modules/cjs/loader.js:527:27) at Function.Module.runMain (internal/modules/cjs/loader.js:840:10) at internal/main/run_main_module.js:17:11 { code: 'MODULE_NOT_FOUND', requireStack: [] }

如何复现此问题

~ 启动 yapi 时报错

什么浏览器

~

什么系统(Linux, Windows, macOS)

linux

mayan404 avatar May 25 '23 08:05 mayan404

所有问题看这里就可以解决了,折腾了好久总结出来的:https://blog.opendeveloper.cn/yapi

xwj-vic avatar Jun 03 '23 07:06 xwj-vic