Create/Update .md files -- Unable to open: Assertion Failed: Argument is ‘undefined’ or ‘null’

A workaround I have found is opening the file in a text editor, adding a blank line, saving and then reopening in the Markdown editor. But it’s cumbersome and should be fixed

When this will be fixed please? Whenever I want to edit a md file I see this. Please fix it.

Version: 2.1.26
VSCode Version: 1.105.1
Commit: f628a4761be40b8869ca61a6189cafd14756dff0
Date: 2025-11-24T05:39:06.655Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Seeing the same issue for months after paid for the annual premium plan, please show some customer obsession and address it!

1 Like

各位!我的已解决!确实如上面一位网友所说的,罪魁祸首是office overview这个插件闹的,经过我一通折腾,问题得已解决:

  • 在插件管理区卸载office overview
  • 强制退出cursor(mac电脑)
  • 几分钟后打开cursor
  • 在插件市场重新下载安装office overview
  • 在cursor左栏任选一个md文件,在中间窗格均能正常显示
  • 来吧,恢复正常的网友们,回复一个以资鼓励吧!!!
  • 另外,谁能联系office overview的作者推出新版修复这个问题?硬生生困扰了大半年时间!!!!
2 Likes

I’ve seen this a lot since last week… it doesn’t matter. Any MD file I have, or create new, returns the same error message when trying to render it in the editor.

Version: 2.2.20
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0

Hey all - very sorry about this, taking a look

Seems to be only when MD files are created automatically and not when manually created. Workaround for me is to use this plugin that opens the MD and the Preview side by side - GitHub - yzhang-gh/vscode-markdown: Markdown All in One

It’s bonkers that this has been going on for so long. Thanks for looking into it @andrewh!

Simple workaround - Rename the file name

Or open with text, edit the file and add a space at the end.

However, all workarounds. Cursor team - please fix this, it’s been 2 months!

Very frustrating indeed. Completely disrupts the workflow. There is no reasonable solution.

same issue here

Same error for me as well as of Jan 2nd 2026.

hello, i rename all my readme.md file to fk_my_life.md and it works. thank you. /s

我删除了 Office Viewer 插件就好了

Running into the same issue

Come on guys. It’s been 3 months now! I’m in the process of recommending tool licensing for my team r/n and this is pushing me to Claude Code as I know this will be a major headache for everyone!