App crashes when opening imported `.md` file

Bug report

I imported a markdown file which I previously exported from Bear (another note taking application). When opening that imported note, the app crashes. Inkdrop is up to date, all plugins are up to date. I also tried cleaning up the whole markdown file, so there isn’t anything unsupported in it, like document links. The note mainly consists of website links in lists. This is the error:

TypeError: Cannot read properties of undefined (reading 'toLowerCase')
    at Typo.check (/Users/fabio/Library/Application Support/inkdrop/packages/spell-checker/node_modules/typo-js/typo.js:656:42)
    at Object.token (/Users/fabio/Library/Application Support/inkdrop/packages/spell-checker/node_modules/@inkdropapp/codemirror-spell-checker/spell-checker.js:72:53)
    at Object.token (/Applications/
    at readToken (/Applications/
    at takeToken (/Applications/
    at CodeMirror.getLineTokens (/Applications/
    at t.default (file:///Applications/
    at O (file:///Applications/
    at M.updateInlineImageWidgetsNow (file:///Applications/
    at M.componentDidUpdate (file:///Applications/
    at Ji (/Applications/
    at Sj (/Applications/
    at exports.unstable_runWithPriority (/Applications/
    at cg (/Applications/
    at Jj (/Applications/
    at yj (/Applications/
    at /Applications/
    at exports.unstable_runWithPriority (/Applications/
    at cg (/Applications/
    at fg (/Applications/
    at gg (/Applications/
    at Mj (/Applications/
    at Object.notify (/Applications/
    at Object.notifyNestedSubs (/Applications/
    at handleChangeWrapper (/Applications/
    at dispatch (/Applications/
    at /Applications/
    at file:///Applications/
    at dispatch (/Applications/
    at file:///Applications/


  • Platform: macOS
  • Platform version: Monterey 12.6
  • App Version: 5.5.2

How to reproduce

Import a .md file with lots of website links in it and open the imported note.

Hi FM,

Thanks for the report.
Looks like the error occurs from the spell-checker plugin.
I’ll look into it

Can you try spell-checker@2.2.1?

Hi, thanks for the reply and update! It still crashes after updating to spell-checker@2.2.1. I now did some more testing, and: it doesn’t crash on my M1 Mac Mini, even with spell-checker 2.2.0. So it only crashes on my 2014 MacBook Pro. Both devices are running macOS Monterey. It also doesn’t crash on my Windows machine, where I use the portable version of Inkdrop.

It looks like it’s a problem that only affects my older MacBook Pro, but not the new M1 Mac Mini. If I find a possible reason or something that is significantly different on those machines, I’ll let you know!

My MacBook Pro is on Monetery 12.6, my Mac Mini on 12.6.1. So I’ll first update my MacBook Pro to 12.6.1, and then I’ll try reinstalling Inkdrop to see if the app then still crashes with that note. Also worth noting: the 2014 MacBook Pro doesn’t officially support Monterey, I installed it using OpenCore-Patcher. But I don’t think that should be an issue for Inkdrop.

After deleting/uninstalling Inkdrop and reinstalling it, the problem is resolved! :smiley:

1 Like

Great to hear it’s been resolved! Cheers