jdpro
jdpro copied to clipboard
所有任务的执行都报SyntaxError: Unexpected token '.'的错误
问题描述:所有的任务执行都报got的错误(详见如下执行日志) 版本号:正式版 v2.18.2 执行日志:
## 开始执行... 2025-03-11 10:50:47
ls: cannot access '/ql/data/log/6dylan6_jdpro_jd_sharecode': No such file or directory
🔔微信签到红包, 开始!
====================共1个京东账号Cookie=================
===========脚本执行时间:2025/03/11 10:50:50============
>>>>>>>>>>>>6dylan6提醒您:有问题先更新不行在反馈>>>>>>>>>>>>>
/ql/data/scripts/node_modules/got:1
.pnpm/[email protected]/node_modules/got
^
SyntaxError: Unexpected token '.'
at wrapSafe (node:internal/modules/cjs/loader:1512:18)
at Module._compile (node:internal/modules/cjs/loader:1534:20)
at Object..js (node:internal/modules/cjs/loader:1699:10)
at Module.load (node:internal/modules/cjs/loader:1313:32)
at Function._load (node:internal/modules/cjs/loader:1123:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1335:12)
at require (node:internal/modules/helpers:136:16)
at Object.<anonymous> (/ql/data/scripts/6dylan6_jdpro_main/sendNotify.js:2:13)
Node.js v22.13.1
@tuchief 装2.17.9版本青龙
@tuchief 装2.17.9版本青龙
按照了2.17.9版本,问题还是一样
## 开始执行... 2025-03-11 22:51:25
ls: cannot access '/ql/data/log/6dylan6_jdpro_jd_sharecode': No such file or directory
🔔特价版天天领红包, 开始!
/ql/data/scripts/node_modules/got:1
.pnpm/[email protected]/node_modules/got
^
SyntaxError: Unexpected token '.'
at wrapSafe (node:internal/modules/cjs/loader:1281:20)
at Module._compile (node:internal/modules/cjs/loader:1321:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/ql/data/scripts/6dylan6_jdpro/sendNotify.js:2:13)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
Node.js v20.15.1
## 执行结束... 2025-03-11 22:51:28 耗时 3 秒
@tuchief 你的配置文件是不是还是2.18的。taskbefore里内容清空试试,不行就全新安装新建容器目录
@tuchief 也不是,有的使用正常,这东西也没必要追新,稳定就好