[Bug] RangeError: Array length must be a positive integer of safe magnitude
Bug Description
⏵⏵ bypass permissions on (shift+tab to cycle) 802 | $ npm install --save-dev react-devtools-core 803 |
.trim()+804 |);else throw H}Yd=e8I.default({getRootHostContext:()=>({isInsideText:!1}),prepareForCommit:()=>null,preparePortalMount:()=>null,clearContainer:()=>!1,resetAfterCommit(H){if(typeof H.onComputeLayout==="function")H.onComputeLayout();if(H.isStaticDirty){if(H.isStaticDirty=!1,typeof H.onImmediateRender==="function")H.onImmediateRender();return}H.onRender?.()},getChildHostContext(H,$){let A=H.isInsideText,L=$==="ink-text"||$==="ink-virtual-text";if(A===L)return H;return{isInsideText:L}},shouldSetTextContent:()=>!1,createInstance(H,$,A,L){if(L.isInsideText&&H==="ink-box")throw Error("<Box> can\u2019t be nested inside <Text> component");let I=H==="ink-text"&&L.isInsideText?"ink-virtual-text":H,D=XsH(I);for(let[B,G]of Object.entries($)){if(B==="children")continue;if(B==="style"){if(Dd$(D,G),D.yog aNode)Bd$(D.yogaNode,G);continue}if(B==="internal_transform"){D.internal_transform=G;continue}if(B==="internal_static"){D.internal_static=!0;continue}Id$(D,B,G)}return D},createTextInstance(H,$,A){if(!A.isInsideText)throw Er | ... truncated 805 |).repeat(x);if(Q)b=lH.dim(b);let k=(yL(X,I)(G.right)+806 |).repeat(x);if(F)k=lH.dim(k);let p=Y?(z?G.bottomLeft:"")+G.bottom.repeat(w)+(P?G.bottomRight:""):"";if(Y&&A.style.borderText?.position==="bottom"){let n=A.style.borderText;p=E9I(p,n.content,n.align,n.offset,G.bottom)}let u=Y?yL(M,I)(p):void 0;if(Y&&K)u=lH.dim(u);let o=Z?1:0;if(S)L.write(H,$,S,{transformers:[]});if(z)L.write(H,$+o,b,{transformers:[]});if(P)L.write(H+D-1,$+o,k,{transformers:[]});if(u)L.write(H,$+B-1,u,{transformers:[]})}},J9I;var X9I=f(()=>{_D();e8H();ZsH();M9I=N(D9I(),1),Ds0={dashed:{top:"\u254C",left:"\u254E",right:"\u254E",bottom:"\u254C",topLeft:" ",topRight:" ",bottomLeft:" ",bottomRight:" "}};J9I=Bs0});var Gs0=(H,$)=>{let A=H.childNodes[0]?.yogaNode;if(A){let L=A.getComputedLeft(),I=A.getComputedTop();$=807 |.repeat(I)+Md$($,L)}return $},W9I=(H,$,{offsetX:A=0,offsetY:L=0,transformers:I=[],skipStaticElements:D,theme:B})=>{if(D&&H.internal_static)return;let{yogaNode:G}=H;if(G){if(G.getDisplay()===aN.None)return;let E=A+G.getComputedLeft(),M=L+G.getComputedTop(),J=I;if(typeof H.internal_transform==="function")J=[H.internal_transform,...I];if(H.nodeName==="ink-text"){let W=JsH(H);if(W.length>0){let K=t8H(W),Q=$9I(G);if(K>Q){let F=H.style.textWrap??"wrap";W=Vd(W,Q,F)}W=Gs0(H,W),$.write(E,M,W,{transformers:J})}return}let X=!1;if(H.nodeName==="ink-box"){J9I(E,M,H,$,B);let W=H.style.overflowX==="hidden"||H.style.overflow==="hidden",K=H.style.overflowY==="hidden"||H.style.overflow==="hidden";if(W||K){let Q=W?E+G.getComputedBorder(Z8.Left):void 0,F=W?E+G.getComputedWidth()-G.getComputedBorder(Z8.Right):void 0,Z=K?M+G.getComputedBorder(Z8.Top):void 0,Y=K?M+G.getComputedHeight()-G.getComputedBorder(Z8.Bottom):void 0;$.clip({x1:Q,x2:F,y1:Z,y2:Y}),X=!0}}if(H.nodeName==="ink-root"||H.nodeName==="ink-box"){for(let W of H.childN | ... truncated
RangeError: Array length must be a positive integer of safe magnitude. at get (/$bunfs/root/claude:807:8127) at /$bunfs/root/claude:809:1548 at onRender (/$bunfs/root/claude:828:6591) at /$bunfs/root/claude:708:2514 at E (/$bunfs/root/claude:708:1921) at M (/$bunfs/root/claude:708:1957) at /$bunfs/root/claude:708:2032
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
RangeError: Array length must be a positive integer of safe magnitude.
at get (/$bunfs/root/claude:807:8127)
at
Environment Info
- Platform: linux
- Terminal: alacritty
- Version: 2.0.53
- Feedback ID: 48cbb7b5-20fa-415d-b584-e31a4cee04e9
Errors
[]
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/11077
- https://github.com/anthropics/claude-code/issues/12144
- https://github.com/anthropics/claude-code/issues/11193
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
This issue has been automatically closed as a duplicate of #11077.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.