claude --continue "<prompt>" --dangerously-skip-permissions crashes with "UKH is not a function"
Resolved 💬 4 comments Opened Apr 27, 2026 by zwarag Closed Apr 27, 2026
Summary
Running claude --continue with a prompt argument and --dangerously-skip-permissions crashes during session resume with UKH is not a function.
Version
- Claude Code: 2.1.120
- Install: mise (
~/.local/share/mise/installs/claude/2.1.120/claude) - OS: Fedora Linux 6.19.12-200.fc43.x86_64
- Shell: zsh
Reproduction
claude --continue "ok look at the todo.md. where we at? (Branch)" --dangerously-skip-permissions
Error
ERROR UKH is not a function. (In 'UKH(K)', 'UKH' is undefined)
/$bunfs/root/src/entrypoints/cli.js:9247:5663
- <anonymous> (/$bunfs/root/src/entrypoints/cli.js:9247:5663)
- JR (/$bunfs/root/src/entrypoints/cli.js:492:63749)
- Bw (/$bunfs/root/src/entrypoints/cli.js:492:76948)
- Xz (/$bunfs/root/src/entrypoints/cli.js:492:76827)
- Bw (/$bunfs/root/src/entrypoints/cli.js:492:77745)
- Xz (/$bunfs/root/src/entrypoints/cli.js:492:76827)
- Bw (/$bunfs/root/src/entrypoints/cli.js:492:76926)
- Xz (/$bunfs/root/src/entrypoints/cli.js:492:76827)
- Bw (/$bunfs/root/src/entrypoints/cli.js:492:77745)
- Xz (/$bunfs/root/src/entrypoints/cli.js:492:76827)
- async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:18804:11089)
The crash happens inside the internal session-resume function (\eJ\$\), where what looks like an \onSessionRestored\ callback returned by an internal hook (\RW4\) is undefined at call time.
Notes
- Separately, \
claude --resume \"<prompt>\" --dangerously-skip-permissions\(no session ID) errors with: \"No deferred tool marker found in the resumed session. Either the session was not deferred, the marker is stale (tool already ran), or it exceeds the tail-scan window. Provide a prompt to continue the conversation.\" That message could be friendlier — it doesn't make it obvious that \--resume\without a session ID isn't the right flag for \"reopen last session and send a message.\"
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗