简睿 (@jianrui)Claude Code 插件 v2.1.84 出现 `trim` 崩溃修复方法 中发帖

Claude Code 插件 v2.1.84 出现 trim 崩溃修复方法
如果 Claude Code 插件 v2.1.84 报错:


Something went wrong


Re-launch the extension to continue.


Error rendering content: Cannot read properties of undefined (reading 'trim')


[image]
基本就是 webview 里某些字段本来应该是字符串,但实际拿到了 undefined 或 null,代码又直接调用了 .trim()。
直接改当前生效版本的文件:
C:\Users\用户目录\.cursor\extensions\anthropic.claude-code-2.1.84-win32-x64\webview\index.js
...