jd_shell icon indicating copy to clipboard operation
jd_shell copied to clipboard

Docker映射路径错误

Open RealKiro opened this issue 3 years ago • 5 comments

https://github.com/lan-tianxiang/jd_shell/blob/855a547e96d661a0bf814254813ca0fd6c4586c8/docker/docker-compose.yml#L11

  • 日志: image

  • 更正路径: image

RealKiro avatar May 30 '21 08:05 RealKiro

我装载路径 /jd/config 但是在映射文件夹中看不到config文件和log 但是容器可以运行 不知道为什么

implanb avatar May 30 '21 09:05 implanb

好,手上暂时没有设备,测试不了😂 


该邮件从移动设备发送

--------------原始邮件-------------- 发件人:"implanb @.>; 发送时间:2021年5月30日(星期天) 下午5:11 收件人:"lan-tianxiang/jd_shell" @.>; 抄送:"Subscribed @.***>; 主题:Re: [lan-tianxiang/jd_shell] Docker映射路径错误 (#91)

我装载路径 /jd/config 但是在映射文件夹中看不到config文件和log 但是容器可以运行 不知道为什么

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

lan-tianxiang avatar May 30 '21 13:05 lan-tianxiang

我尝试排除一下


该邮件从移动设备发送

--------------原始邮件-------------- 发件人:"implanb @.>; 发送时间:2021年5月30日(星期天) 下午5:11 收件人:"lan-tianxiang/jd_shell" @.>; 抄送:"Subscribed @.***>; 主题:Re: [lan-tianxiang/jd_shell] Docker映射路径错误 (#91)

我装载路径 /jd/config 但是在映射文件夹中看不到config文件和log 但是容器可以运行 不知道为什么

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

lan-tianxiang avatar May 30 '21 13:05 lan-tianxiang

请问这是什么错误呢 (node:3630) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property Resolver of 'undefined' or 'null'. at Object. (/jd/scripts/node_modules/cacheable-lookup/source/index.js:10:5) at Module._compile (internal/modules/cjs/loader.js:702:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10) at Module.load (internal/modules/cjs/loader.js:612:32) at tryModuleLoad (internal/modules/cjs/loader.js:551:12) at Function.Module._load (internal/modules/cjs/loader.js:543:3) at Module.require (internal/modules/cjs/loader.js:650:17) at require (internal/modules/cjs/helpers.js:20:18) at Object. (/jd/scripts/node_modules/got/dist/source/core/index.js:12:28) at Module._compile (internal/modules/cjs/loader.js:702:30) (node:3630) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 109)

qingcheng123 avatar Jun 08 '21 09:06 qingcheng123

@qingcheng123 一般是node版本问题,百度搜索node版本升级。推荐安装docker后,用docker一键脚本

lan-tianxiang avatar Jun 08 '21 09:06 lan-tianxiang