[BUG] TypeError: Cannot read properties of undefined (reading 'map')
@Gajesh2007 were you trying to access conversation history (esc) when this happened? we fixed a bug in 0.2.61 that fixes this. closing now, but please feel free to re-open if you're still seeing this after 0.2.61
_Originally posted by @sid374 in #699_
TypeError: Cannot read properties of undefined (reading 'map')
at Object.renderToolResultMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2233:2155)
at Ie2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2264:1616)
at QN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19799)
at xL (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:3199)
at dS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:43345)
at uS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38118)
at nL (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38046)
at qN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:37900)
at BJ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:34990)
at n6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:4822)
ERROR Cannot read properties of undefined (reading 'map')
file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2233:2155
- Object.renderToolResultMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2233:2155)
- Ie2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2264:1616)
- QN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19799)
- xL (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:3199)
- dS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:43345)
- uS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38118)
- nL (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38046)
- qN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:37900)
- BJ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:34990)
- n6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:4822)
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗