[BUG] 脚本报错: Vk.sendWall
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 57
- Forks
- 3
- Avg merge
- 3h 7m
- Merged PRs (30d)
- 5
Description
提交BUG前请先阅读以下内容
- 我尝试了多次确认问题可以复现 | I tried several times to confirm that the problem can be reproduced.
- 我已经将脚本更新到了最新版 | I have updated this script to the latest version.
- 我尝试过使用兼容版但没有解决 | I have updated this script to the compatible version but not solved.
- 我已经查看了常见问题解决办法但没有解决 | I have seen FAQ but not solved.
- 我已经查看了用前必读但没有解决 | I have seen READ ME FIRST but not solved.
- 我已经查看了issues但没有解决 | I have seen issues but not solved.
问题描述
%c%s,color:#1bbe1a,Auto-Task[Load]: 脚本加载完成
%c%s,color:white;background:red,Auto-Task[Error]: Vk.sendWall
TypeError: Cannot read properties of undefined (reading 'match')
at #sendWall (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=auto-task.user.js&id=efacebef:3527:40)
at async #toggleVk (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=auto-task.user.js&id=efacebef:3824:27)
at async Promise.all (index 2)
at async Promise.all (index 0)
at async FreeAnyWhere.toggleTask (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=auto-task.user.js&id=efacebef:9063:9)
at async FreeAnyWhere.doTask (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=auto-task.user.js&id=efacebef:9078:24)
关于哪一个网站
https://freeanywhere.net/game.php
浏览器版本
{
"browser": "Edge",
"browserVersion": "149.0.0.0",
"engine": "Blink",
"isWebview": false,
"isRobot": false,
"cookieEnabled": true,
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0",
"system": "Windows",
"systemVersion": "10",
"platform": "Win32",
"architecture": "x86",
"bitness": 64,
"devicePixelRatio": 1.25,
"deviceMemory": 16,
"device": "Desktop",
"gpu": "Intel",
"gpuModel": "Intel(R) UHD Graphics 630",
"network": "3g",
"isOnline": true,
"ip": "117.159.29.251",
"battery": -1,
"screenWidth": 1536,
"screenHeight": 864,
"clientWidth": 1520,
"clientHeight": 706,
"screenFPS": 60,
"screenColorDepth": 32,
"screenPixelDepth": 32,
"isTouch": false,
"language": "zh_CN",
"timezone": "Asia/Shanghai"
}
脚本管理器版本
Tampermonkey 5.5.0
脚本版本
5.1.9
错误信息
TypeError: Cannot read properties of undefined (reading 'match')
at #sendWall (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=auto-task.user.js&id=efac9323-cef6-4046-8d78-fbc1e44cebef:3527:40)
at async #toggleVk (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=auto-task.user.js&id=efac9323-cef6-4046-8d78-fbc1e44cebef:3824:27)
at async Promise.all (index 2)
at async Promise.all (index 0)
at async FreeAnyWhere.toggleTask (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=auto-task.user.js&id=efac9323-cef6-4046-8d78-fbc1e44cebef:9063:9)
at async FreeAnyWhere.doTask (chrome-extension://iikmkjmpaadaobahmlepeloendndfphd/userscript.html?name=auto-task.user.js&id=efac9323-cef6-4046-8d78-fbc1e44cebef:9078:24)
执行日志
附加截图
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the task on https://freeanywhere.net/game.php with script version 5.1.9, then trace the #sendWall call shown in the stack trace and its caller #toggleVk. Inspect the generated dist/auto-task.user.js or corresponding TypeScript source to identify the undefined value before match; done means the task completes without the TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100