Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[求解]失败! 原因: SyntaxError: Unexpected token '<'! #197

Open
dipck9954 opened this issue Jul 8, 2024 · 2 comments
Open

[求解]失败! 原因: SyntaxError: Unexpected token '<'! #197

dipck9954 opened this issue Jul 8, 2024 · 2 comments

Comments

@dipck9954
Copy link

拉库后运行依赖安装完成,并浏览器手动获取JD_COOKIE的pt_key和pt_pin添加至环境变量,运行所有任务都报错,信息如下:

/ql/data/scripts/shufflewzc_faker2_main/sendNotify.js:7

^

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 new Notification (/ql/data/scripts/shufflewzc_faker2_main/utils/Rebels_sendJDNotify.js:30:7723)
at Object. (/ql/data/scripts/shufflewzc_faker2_main/utils/Rebels_sendJDNotify.js:30:19027)
at Module._compile (node:internal/modules/cjs/loader:1358:14)

5

@shufflewzc
Copy link
Owner

看着像是文件错误,再拉一次库更新文件试试吧

@dipck9954
Copy link
Author

重新拉了库,也更新了pt_key,每天只有一个无线端签到领京东的任务能成功

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants