[Bug] Infinite loop on oversized image error with double ESC recovery

Resolved 💬 8 comments Opened Dec 6, 2025 by scouzi1966 Closed Feb 14, 2026

Bug Description
It gets stick in a loop always answering Image was too large. Double press esc to go back and try again with a smaller image.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.59
  • Feedback ID:

Errors

[{"error":"Error: Could not load the \"sharp\" module using the darwin-arm64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n    npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n    See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n    npm install --os=darwin --cpu=arm64 sharp\n- Consult the installation documentation:\n    See https://sharp.pixelplumbing.com/install\n    at <anonymous> (/$bunfs/root/claude:816:17571)\n    at <anonymous> (/$bunfs/root/claude:11:356)\n    at <anonymous> (/$bunfs/root/claude:817:88)\n    at <anonymous> (/$bunfs/root/claude:11:356)\n    at <anonymous> (/$bunfs/root/claude:817:79804)\n    at <anonymous> (/$bunfs/root/claude:11:356)\n    at <anonymous> (/$bunfs/root/claude:817:79980)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-06T01:54:31.156Z"},{"error":"TypeError: (B.default||B) is not a function. (In '(B.default||B)(R)', '(B.default||B)' is an instance of Object)\n    at kGR (/$bunfs/root/claude:817:80003)\n    at async RY8 (/$bunfs/root/claude:1377:11493)\n    at async sAA (/$bunfs/root/claude:1377:11711)\n    at async call (/$bunfs/root/claude:1386:389)\n    at async TI7 (/$bunfs/root/claude:2958:17002)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-06T01:57:49.318Z"},{"error":"TypeError: G is not a function. (In 'G(R)', 'G' is an instance of Object)\n    at ys (/$bunfs/root/claude:817:81025)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-06T01:57:49.319Z"},{"error":"TypeError: (B.default||B) is not a function. (In '(B.default||B)(R)', '(B.default||B)' is an instance of Object)\n    at kGR (/$bunfs/root/claude:817:80003)\n    at async RY8 (/$bunfs/root/claude:1377:11493)\n    at async sAA (/$bunfs/root/claude:1377:11711)\n    at async call (/$bunfs/root/claude:1386:389)\n    at async <anonymous> (/$bunfs/root/claude:1598:1512)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-06T01:58:02.482Z"},{"error":"TypeError: G is not a function. (In 'G(R)', 'G' is an instance of Object)\n    at ys (/$bunfs/root/claude:817:81025)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-06T01:58:02.483Z"},{"error":"TypeError: (B.default||B) is not a function. (In '(B.default||B)(R)', '(B.default||B)' is an instance of Object)\n    at kGR (/$bunfs/root/claude:817:80003)\n    at async RY8 (/$bunfs/root/claude:1377:11493)\n    at async sAA (/$bunfs/root/claude:1377:11711)\n    at async call (/$bunfs/root/claude:1386:389)\n    at async <anonymous> (/$bunfs/root/claude:1598:1512)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-06T02:05:57.821Z"},{"error":"TypeError: G is not a function. (In 'G(R)', 'G' is an instance of Object)\n    at ys (/$bunfs/root/claude:817:81025)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-06T02:05:57.822Z"},{"error":"TypeError: (B.default||B) is not a function. (In '(B.default||B)(R)', '(B.default||B)' is an instance of Object)\n    at kGR (/$bunfs/root/claude:817:80003)\n    at async RY8 (/$bunfs/root/claude:1377:11493)\n    at async sAA (/$bunfs/root/claude:1377:11711)\n    at async call (/$bunfs/root/claude:1386:389)\n    at async <anonymous> (/$bunfs/root/claude:1598:1512)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-06T02:06:05.705Z"},{"error":"TypeError: G is not a function. (In 'G(R)', 'G' is an instance of Object)\n    at ys (/$bunfs/root/claude:817:81025)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-06T02:06:05.705Z"},{"error":"TypeError: (B.default||B) is not a function. (In '(B.default||B)(R)', '(B.default||B)' is an instance of Object)\n    at kGR (/$bunfs/root/claude:817:80003)\n    at async RY8 (/$bunfs/root/claude:1377:11493)\n    at async sAA (/$bunfs/root/claude:1377:11711)\n    at async call (/$bunfs/root/claude:1386:389)\n    at async <anonymous> (/$bunfs/root/claude:1598:1512)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-06T02:07:07.660Z"},{"error":"TypeError: G is not a function. (In 'G(R)', 'G' is an instance of Object)\n    at ys (/$bunfs/root/claude:817:81025)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-06T02:07:07.661Z"},{"error":"TypeError: (B.default||B) is not a function. (In '(B.default||B)(R)', '(B.default||B)' 

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗