[BUG] Minified React error #185
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?
v2.0.69
Error: Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at xQ (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:212:16256) at z1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:212:15769) at W9 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:212:31880) at bB (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:212:31479) at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2631:7634 at YA (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4326:533) at onInput (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2426:10644) at wrappedOnInput (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2426:7581) at nd.J (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:337:621) at nd.emit (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:329:1464)
~
What Should Happen?
I don't know. Not crashing?
Error Messages/Logs
Error: Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at xQ (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:212:16256)
at z1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:212:15769)
at W9 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:212:31880)
at bB (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:212:31479)
at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2631:7634
at YA (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:4326:533)
at onInput (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2426:10644)
at wrappedOnInput (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2426:7581)
at nd.J (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:337:621)
at nd.emit (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:329:1464)
Steps to Reproduce
No idea.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
v2.0.69
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
No response
Seeing frequent crashes from this on 2.0.72 on macOS as well. Do not remember encountering on previous versions.
Claude Code, running in a PowerShell Terminal on Windows 11 Pro (current latest). Relatively new session (started 15 minutes ago, perhaps four small tasks in). To add a little more context - I was using backspace to edit 'regex' to 'regex/search' because that was the "solution" it had proposed. The backspace stopped working, and the cursor was at the end of the line. I couldn't move the cursor with keyboard but the 'home' key did jump to the start of line with a second cursor. Input was locked for a good 30-45 seconds before it crashed out with the error.
I see that ChatGPT had the exact same error 6 months ago and it was related to a browser cache.
Want me to add this routing logic?
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
> no, because the user will probably use similar but not identical language so regex will always fai
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
⏵⏵ accept edits on (alt+m to cycle)
Error: Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at yQ (file:///C:/Users/Pete/AppData/Local/nvm/v20.19.0/node_modules/@anthropic-ai/claude-code/cli.js:213:16255)
at $1 (file:///C:/Users/Pete/AppData/Local/nvm/v20.19.0/node_modules/@anthropic-ai/claude-code/cli.js:213:15768)
at _Q (file:///C:/Users/Pete/AppData/Local/nvm/v20.19.0/node_modules/@anthropic-ai/claude-code/cli.js:213:31879)
at N0 (file:///C:/Users/Pete/AppData/Local/nvm/v20.19.0/node_modules/@anthropic-ai/claude-code/cli.js:213:31478)
at VA (file:///C:/Users/Pete/AppData/Local/nvm/v20.19.0/node_modules/@anthropic-ai/claude-code/cli.js:4734:543)
at onInput (file:///C:/Users/Pete/AppData/Local/nvm/v20.19.0/node_modules/@anthropic-ai/claude-code/cli.js:2614:10750)
at Object.wrappedOnInput [as current] (file:///C:/Users/Pete/AppData/Local/nvm/v20.19.0/node_modules/@anthropic-ai/claude-code/cli.js:2614:7608)
at file:///C:/Users/Pete/AppData/Local/nvm/v20.19.0t ode_modules/@anthropic-ai/claude-code/cli.js:340:2516
at Ci.J (file:///C:/Users/Pete/AppData/Local/nvm/v20.19.0/node_modules/@anthropic-ai/claude-code/cli.js:340:3364)
at Ci.emit (file:///C:/Users/Pete/AppData/Local/nvm/v20.19.0/node_modules/@anthropic-ai/claude-code/cli.js:332:1464)
I ran claude update yesterday towards the end of the day.
I'm seeing the same error in Windows 11 using WSL. Similar to pjbaron's posting, this happens when I backspace. In addition, I've had issues with the typing terminal getting sluggish with longer conversations which eventually causes a network error. That might be unrelated, but I thought I'd mention it. In my case, it crashes quickly with the same error:
Error: Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at yQ (file:///home/clone45/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:213:16255)
at $1 (file:///home/clone45/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:213:15768)
at _Q (file:///home/clone45/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:213:31879)
at N0 (file:///home/clone45/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:213:31478)
at VA (file:///home/clone45/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4734:543)
at onInput (file:///home/clone45/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2614:10750)
at Object.wrappedOnInput [as current] (file:///home/clone45/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2614:7608)
at file:///home/clone45/.npmyolobal/lib/node_modules/@anthropic-ai/claude-code/cli.js:340:2516
at Ci.J (file:///home/clone45/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:340:3364)
at Ci.emit (file:///home/clone45/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:332:1464)
Work-around.
It just did the same thing again (stuck cursor, not accepting text input, cursor dupe jumping back to start of line) and instead of bashing every key until it crashes, I pressed escape twice or three times in a row. This cancelled my typing and seems to have kept the session alive.
Got the same today. Lastest version of Claude (2.0.73) Linux 6.17.9-arch1-1 Hyprland 0.52.2 (wayland) Ghostty 1.2.3-arch2
Happened when pasting ~20 rows of TS
194 | +jI+Z+OD}function p(Z,P){if(!Z||sD)return"";sD=!0;var j=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var d={DetermineComponentFrameRoot:function(){try{if(P){var FI=function(){throw Error()};if(Object.defineProperty(FI.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(FI,[])}catch(W9){var KD=W9}Reflect.construct(Z,[],FI)}else{try{FI.call()}catch(W9){KD=W9}Z.call(FI.prototype)}}else{try{throw Error()}catch(W9){KD=W9}(FI=Z())&&typeof FI.catch==="function"&&FI.catch(function(){})}}catch(W9){if(W9&&KD&&typeof W9.stack==="string")return[W9.stack,KD.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var IH=d.DetermineComponentFrameRoot(),lH=IH[0],z$=IH[1];if(lH&&z$){var dA=lH.split(
195 | ),SL=z$.split(
196 | );for(a=d=0;d<dA.length&&!dA[d].includes("DetermineComponentFrameRoot");)d++;for(;a<SL.length&&!SL[a].includes("DetermineComponentFrameRoot");)a++;if(d===dA.length||a===SL.length)for(d=dA.length-1,a=SL.length-1;1<=d&&0<=a&&dA[d]!==SL[a];)a--;for(;1<=d&&0<=a;d--,a--)if(dA[d]!==SL[a]){if(d!==1||a!==1)do if(d--,a--,0>a||dA[d]!==SL[a]){var KI=
197 | +dA[d].replace(" at new "," at ");return Z.displayName&&KI.includes("<anonymous>")&&(KI=KI.replace("<anonymous>",Z.displayName)),KI}while(1<=d&&0<=a);break}}}finally{sD=!1,Error.prepareStackTrace=j}return(j=Z?Z.displayName||Z.name:"")?R(j):""}function e(Z,P){switch(Z.tag){case 26:case 27:case 5:return R(Z.type);case 16:return R("Lazy");case 13:return Z.child!==P&&P!==null?R("Suspense Fallback"):R("Suspense");case 19:return R("SuspenseList");case 0:case 15:return p(Z.type,!1);case 11:return p(Z.type.render,!1);case 1:return p(Z.type,!0);case 31:return R("Activity");default:return""}}function $H(Z){try{var P="",j=null;do P+=e(Z,j),j=Z,Z=Z.return;while(Z);return P}catch(d){return
198 | Error generating stack: +d.message+
199 | `+d.stack}}function PH(Z,P){if(typeof Z==="object"&&Z!==null){var j=cE.get(Z);if(j!==void 0)return j;return P={value:Z,source:P,stack:$H(P)},cE.set(Z,P),P}return{value:Z,source:P,stack:$H(P)}}function VH(Z,P){BM[yf++]=fM,BM[yf++]=zM,zM=Z,fM=P}function UH(Z,P,j){mU[oM++]=dU,mU[oM++]=TX,mU[oM++]=sJ,sJ=Z;var d=dU;Z=TX;var a=32-GL(d)-1;d&=~(1<<a),j+=1;var IH=32-GL(P)+a;if(30<IH){var lH=a-a%5;IH=(d&(1<<lH)-1).toString(32),d>>=lH,a-=lH,dU=1<<32-GL(P)+a|j<<a|d,TX=IH+Z}else dU=1<<IH|j<<a|d,TX=Z}function zH(Z){Z.return!==null&&(VH(Z,1),UH(Z,1,0))}function TH(Z){for(;Z===zM;)zM=BM[--yf],BM[yf]=null,fM=BM[--yf],BM[yf]=null;for(;Z===sJ;)sJ=mU[--oM],mU[oM]=null,TX=mU[--oM],mU[oM]=null,dU=mU[--oM],mU[oM]=null}function AH(Z,P){mU[oM++]=dU,mU[oM++]=TX,mU[oM++]=sJ,dU=P.id,TX=P.overflow,sJ=Z}function JH(Z,P){J(i4,P),J(eJ,Z),J(a1,null),Z=tJ(P),X(a1),J(a1,Z)}function CH(){X(a1),X(eJ),X(i4)}function RH(Z){Z.memoizedState!==null&&J(ow,Z);var P=a1.current,j=UO(P,Z.type);P!==j&&(J(eJ,Z),J(a1,j))}function MH(Z){eJ.current===Z&&(X(a1) | ... truncated
error: Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at oL (/$bunfs/root/claude:199:16264) at F$ (/$bunfs/root/claude:199:15774) at OL (/$bunfs/root/claude:199:31888) at VA (/$bunfs/root/claude:199:31487) at /$bunfs/root/claude:2621:2238
Same error on Linux (Fedora), exact same trace as mewset.
$ claude doctor
Diagnostics
└ Currently running: native (2.0.75)
└ Path: /home/jeremy/.local/bin/claude
└ Invoked: /home/jeremy/.local/share/claude/versions/2.0.75
└ Config install method: native
└ Auto-updates: enabled
└ Search: OK (bundled)