[BUG] Include: Stack trace và context (Write tool to .claude/skills/)
Resolved 💬 2 comments Opened Jan 13, 2026 by timaivn Closed Feb 27, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
TypeError: Cannot read properties of undefined (reading 'match')
at Al5 → at S6A
What Should Happen?
when write tool : A (stderr) là undefined
function Al5(A){
if(!A.match(...)) // Cannot call .match() on undefined
}
Error Messages/Logs
Steps to Reproduce
A (stderr) là undefined
function Al5(A){
if(!A.match(...)) // Cannot call .match() on undefined
}
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.6 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
PowerShell
Additional Information
A (stderr) là undefined
function Al5(A){
if(!A.match(...)) // Cannot call .match() on undefined
}
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗