N1 刷了openwrt做旁路由,docker运行青龙面板中的任务,提示错误(node:2311) UnhandledPromiseRejectionWarning: Error: Cannot find module 'tough-cookie'

(node:2311) UnhandledPromiseRejectionWarning: Error: Cannot find module 'tough-cookie'
Require stack:
- /ql/scripts/JDHelloWorld_jd_scripts_jd_get_share_code.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.initGotEnv (/ql/scripts/JDHelloWorld_jd_scripts_jd_get_share_code.js:756:3796)
at Object.post (/ql/scripts/JDHelloWorld_jd_scripts_jd_get_share_code.js:756:5658)
at /ql/scripts/JDHelloWorld_jd_scripts_jd_get_share_code.js:690:7
at new Promise ()
at TotalBean (/ql/scripts/JDHelloWorld_jd_scripts_jd_get_share_code.js:676:10)
at /ql/scripts/JDHelloWorld_jd_scripts_jd_get_share_code.js:50:13
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2311) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2311) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
更新任务状态成功

执行结束...

-> 加入科技玩家交流群组:点击加入 <-
注意:
1.文中二维码和链接可能带有邀请性质,请各位玩家自行抉择。
2.请勿通过链接填写qq号与密码、银行卡号与密码等个人隐私信息。
3.禁止纯拉人头,拉app注册等信息,发现必小黑屋。
4.同一种信息仅发一次,多发会被删除。
5.文章中源码或APP等,无法保证其绝对安全,需自行辨别。
6.文章关联方不想展示也可以微信站长“socutesheep”删除。

圈主 管理员

热门评论
:
该帖子评论已关闭
图片审查中...
编辑答案: 我的回答: 最多上传一张图片和一个附件
x
x
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索