daledesilva / obsidian_ink

Other
423 stars 10 forks source link

Reading 'getMarkdownFiles' #6

Closed LuciaCorreaDaSilva closed 6 months ago

LuciaCorreaDaSilva commented 6 months ago

Error when generating tasks from files: TypeError: Cannot read properties of undefined (reading 'getMarkdownFiles')

This error appears when I use Slash Commander to call the plugin on Windows. This prevents me from creating any new notes until I restart the Obsidian, remove ink, and erase any ink's writing file.

daledesilva commented 6 months ago

Thanks for reporting! Sorry that's happening.

Is it only when using in combination with slash commander? Or is it also when running the ink commands without slash commander?

daledesilva commented 6 months ago

Also, I assume this error is listed in the devtools console? Does it mention a filename or line number?

If you can take a screenshot that would be really helpful :)

daledesilva commented 6 months ago

I believe this should be fixed now. Please update and let me know if there are further issues.

Brat supposedly updates plugins on startup, so try starting Obsidian, give it a minute to update, then close and restart obsidian again. Check that Ink is now 1.15 or higher.

If it hasn't updated that way, you may have to uninstall it through BRAT and the normal plugin area and then install it with BRAT again.

daledesilva commented 6 months ago

Closing this... as it should be fixed in the newer versions. Let me know if there's still any related issue.