You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐧 platform/linuxPull request or issue on Linux🐛 bugSomething isn't working🐞 pri/criticalBugs which cause the Mark Text crash or unable to continue normal use
SyntaxError: 9
at createCompileError (file:///tmp/.mount_markteMgX0xf/resources/app.asar/out/renderer/assets/index-CDtNiKJ8.js:72887:18)
at emitError (file:///tmp/.mount_markteMgX0xf/resources/app.asar/out/renderer/assets/index-CDtNiKJ8.js:73004:19)
at readTokenInPlaceholder (file:///tmp/.mount_markteMgX0xf/resources/app.asar/out/renderer/assets/index-CDtNiKJ8.js:73402:11)
at readToken (file:///tmp/.mount_markteMgX0xf/resources/app.asar/out/renderer/assets/index-CDtNiKJ8.js:73555:14)
at Object.nextToken (file:///tmp/.mount_markteMgX0xf/resources/app.asar/out/renderer/assets/index-CDtNiKJ8.js:73605:12)
at parseMessage (file:///tmp/.mount_markteMgX0xf/resources/app.asar/out/renderer/assets/index-CDtNiKJ8.js:73797:45)
at parseResource (file:///tmp/.mount_markteMgX0xf/resources/app.asar/out/renderer/assets/index-CDtNiKJ8.js:73859:21)
at Object.parse2 [as parse] (file:///tmp/.mount_markteMgX0xf/resources/app.asar/out/renderer/assets/index-CDtNiKJ8.js:73873:17)
at baseCompile$1 (file:///tmp/.mount_markteMgX0xf/resources/app.asar/out/renderer/assets/index-CDtNiKJ8.js:74270:22)
at baseCompile (file:///tmp/.mount_markteMgX0xf/resources/app.asar/out/renderer/assets/index-CDtNiKJ8.js:74450:15)
Version
MarkText: v0.18.4
Operating system: Linux x64 6.12.10-76061203-generic (linux)
Closing — this was fixed during the electron-vite refactor (commit 85607dd).
The guard at src/muya/lib/utils/importMarkdown.js:464-467 short-circuits when anchorBlock or focusBlock is null:
if(!anchorBlock||!focusBlock){console.warn('Can not find anchor block or focus block in getMuyaIndexCursor')returnnull}
The destructuring statement that crashed in your stack trace can no longer execute with a null operand. General-editor regression coverage was also expanded in #4268.
If you still hit this crash on a 0.18.5+ build, please reopen with the exact version and steps.
🐧 platform/linuxPull request or issue on Linux🐛 bugSomething isn't working🐞 pri/criticalBugs which cause the Mark Text crash or unable to continue normal use
Activity
Jocs commentedon May 23, 2026
Closing — this was fixed during the electron-vite refactor (commit 85607dd).
The guard at
src/muya/lib/utils/importMarkdown.js:464-467short-circuits whenanchorBlockorfocusBlockis null:The destructuring statement that crashed in your stack trace can no longer execute with a null operand. General-editor regression coverage was also expanded in #4268.
If you still hit this crash on a 0.18.5+ build, please reopen with the exact version and steps.