docker-yapi
docker-yapi copied to clipboard
初始化yapi报错
16:32:02 /usr/local/docker-yapi # docker-compose up WARNING: Found orphan containers (docker-yapi_mongo_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. Recreating docker-yapi_yapi_1 ... done Attaching to docker-yapi_yapi_1 yapi_1 | internal/modules/cjs/loader.js:818 yapi_1 | throw err; yapi_1 | ^ yapi_1 | yapi_1 | Error: Cannot find module '/my-yapi/vendors/server/app.js' yapi_1 | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) yapi_1 | at Function.Module._load (internal/modules/cjs/loader.js:667:27) yapi_1 | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) yapi_1 | at internal/main/run_main_module.js:17:47 { yapi_1 | code: 'MODULE_NOT_FOUND', yapi_1 | requireStack: [] yapi_1 | } docker-yapi_yapi_1 exited with code 1
same issue
第一次启动,要修改配置文件的
第一次启动,要修改配置文件的
good job!