claude-code - 💡(How to fix) Fix [Bug] Claude Code crashes with obfuscated/minified code parsing error [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#53309Fetched 2026-04-26 05:19:02
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"TypeError: null is not an object (evaluating 'H.effortLevel')\n at EYA (/$bunfs/root/claude:1777:3906)\n at o6 (/$bunfs/root/claude:2139:4153)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:50:06.423Z"},{"error":"TypeError: null is not an object (evaluating 'H.effortLevel')\n at EYA (/$bunfs/root/claude:1777:3906)\n at o6 (/$bunfs/root/claude:2139:4153)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:50:06.424Z"},{"error":"SyntaxError: JSON Parse error: Property name must be a string literal\n at <parse> (:0)\n at parse (unknown)\n at <anonymous> (/$bunfs/root/claude:77:751)\n at A (/$bunfs/root/claude:11:6978)\n at RJ1 (/$bunfs/root/claude:2560:26855)\n at async jxD (/$bunfs/root/claude:2560:29641)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:50:06.715Z"},{"error":"TypeError: null is not an object (evaluating 'H.effortLevel')\n at EYA (/$bunfs/root/claude:1777:3906)\n at o6 (/$bunfs/root/claude:2139:4153)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:50:12.051Z"},{"error":"TypeError: null is not an object (evaluating 'H.effortLevel')\n at EYA (/$bunfs/root/claude:1777:3906)\n at o6 (/$bunfs/root/claude:2139:4153)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:51:21.744Z"}]

Code Example

[{"error":"TypeError: null is not an object (evaluating 'H.effortLevel')\n    at EYA (/$bunfs/root/claude:1777:3906)\n    at o6 (/$bunfs/root/claude:2139:4153)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:50:06.423Z"},{"error":"TypeError: null is not an object (evaluating 'H.effortLevel')\n    at EYA (/$bunfs/root/claude:1777:3906)\n    at o6 (/$bunfs/root/claude:2139:4153)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:50:06.424Z"},{"error":"SyntaxError: JSON Parse error: Property name must be a string literal\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:77:751)\n    at A (/$bunfs/root/claude:11:6978)\n    at RJ1 (/$bunfs/root/claude:2560:26855)\n    at async jxD (/$bunfs/root/claude:2560:29641)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:50:06.715Z"},{"error":"TypeError: null is not an object (evaluating 'H.effortLevel')\n    at EYA (/$bunfs/root/claude:1777:3906)\n    at o6 (/$bunfs/root/claude:2139:4153)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:50:12.051Z"},{"error":"TypeError: null is not an object (evaluating 'H.effortLevel')\n    at EYA (/$bunfs/root/claude:1777:3906)\n    at o6 (/$bunfs/root/claude:2139:4153)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:51:21.744Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description );aRD();sRD();ouH=b(DH(),1)});function

W41(H,$){if(H.length<=J41)return{truncatedText:H ,placeholderContent:""};let A=Math.floor(HyD/2),

L=Math.floor(HyD/2),I=H.slice(0,A),D=H.slice(-L)

,B=H.slice(A,-L),f=SB$(B),M=K41($,f);return{trun

catedText:I+M+D,placeholderContent:B}}function K41(H,$){return[...Truncated text #${H} +${$} lines...]}function $yD(H,$){let

A=Object.keys($).map(Number),L=A.length>0?Math.m

ax(...A)+1:1,{truncatedText:I,placeholderContent

:D}=W41(H,L);if(!D)return{newInput:H,newPastedCo

ntents:$};return{newInput:I,newPastedContents:{. ..$,[L]:{id:L,type:"text",content:D}}}}var J41=1e4,HyD=1000;var AyD=K(()=>{Ur()});function

LyD({input:H,pastedContents:$,onInputChange:A,se

tCursorOffset:L,setPastedContents:I}){let[D,B]=a

uH.useState(!1);auH.useEffect(()=>{if(D)return;i

f(H.length<=1e4)return;let{newInput:f,newPastedC

ontents:E}=$yD(H,$);A(f),L(f.length),I(E),B(!0)}

,[H,D,$,A,I,L]),auH.useEffect(()=>{if(H==="")B(! 1)},[H])}var auH;var IyD=K(()=>{AyD();auH=b(DH(),1)});function DyD(H,$=20){let A=new Map;for(let I of H)A.set(I,(A.get(I)||0)+1);return Array.from(A.e

ntries()).sort((I,D)=>D[1]-I[1]).slice(0,$).map( ([I,D])=>${D.toString().padStart(6)} ${I}).join(`

2563 `)}async function F41(){if(ZL.platform==="win32 : ")return[];if(!await R2())return[];try{let H="",{stdout:$}=await

n9("git",["config","user.email"],{cwd:o$()}),A=" ";if($.trim()){let{stdout:B}=await

n9("git",["log","-n","1000","--pretty=format:","

--name-only","--diff-filter=M",--author=${$.tri m()}],{cwd:o$()}),f=B.split(`

  • KJ1 (/$bunfs/root/claude:2560:4995)
  • PM (/$bunfs/root/claude:199:20697)
  • OU (/$bunfs/root/claude:199:39069)
  • IHH (/$bunfs/root/claude:199:49684)
  • X5 (/$bunfs/root/claude:199:85872)
  • Nu (/$bunfs/root/claude:199:84850)
  • dq (/$bunfs/root/claude:199:84675)
  • By (/$bunfs/root/claude:199:81487)
  • lA (/$bunfs/root/claude:199:6242)
  • Da$ (/$bunfs/root/claude:192:4072) why does claude code keep crashing like this

Environment Info

  • Platform: linux
  • Terminal: xterm-256color
  • Version: 2.0.76
  • Feedback ID: d58e660e-e50d-454b-bb0e-b0b9a96a7dfc

Errors

[{"error":"TypeError: null is not an object (evaluating 'H.effortLevel')\n    at EYA (/$bunfs/root/claude:1777:3906)\n    at o6 (/$bunfs/root/claude:2139:4153)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:50:06.423Z"},{"error":"TypeError: null is not an object (evaluating 'H.effortLevel')\n    at EYA (/$bunfs/root/claude:1777:3906)\n    at o6 (/$bunfs/root/claude:2139:4153)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:50:06.424Z"},{"error":"SyntaxError: JSON Parse error: Property name must be a string literal\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:77:751)\n    at A (/$bunfs/root/claude:11:6978)\n    at RJ1 (/$bunfs/root/claude:2560:26855)\n    at async jxD (/$bunfs/root/claude:2560:29641)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:50:06.715Z"},{"error":"TypeError: null is not an object (evaluating 'H.effortLevel')\n    at EYA (/$bunfs/root/claude:1777:3906)\n    at o6 (/$bunfs/root/claude:2139:4153)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:50:12.051Z"},{"error":"TypeError: null is not an object (evaluating 'H.effortLevel')\n    at EYA (/$bunfs/root/claude:1777:3906)\n    at o6 (/$bunfs/root/claude:2139:4153)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-25T11:51:21.744Z"}]

extent analysis

TL;DR

The issue is likely caused by a null object error when evaluating 'H.effortLevel', and a JSON parse error due to a property name not being a string literal.

Guidance

  • Check the code at line 1777:3906 in the claude file to ensure that 'H.effortLevel' is not null before trying to access it.
  • Verify that the JSON data being parsed has property names that are string literals.
  • Review the code at line 77:751 in the claude file to ensure that the JSON data is being parsed correctly.
  • Consider adding error handling to catch and handle null objects and JSON parse errors.

Example

// Example of how to check for null before accessing a property
if (H && H.effortLevel) {
  // access H.effortLevel here
} else {
  // handle the case where H or H.effortLevel is null
}

Notes

The provided code snippets and error messages suggest that there are multiple issues with the code, including null object errors and JSON parse errors. Without more context or information about the code, it is difficult to provide a more specific solution.

Recommendation

Apply a workaround by adding error handling to catch and handle null objects and JSON parse errors, and review the code to ensure that it is correctly handling these cases.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING