Bugs with CodeMirror

79 views
Skip to first unread message

Adithya B M

unread,
Aug 15, 2020, 6:08:01 AM8/15/20
to TiddlyWiki
Once in a while, usually when I close all my tiddlies, I get this error:

Error executing boot module $:/plugins/tiddlywiki/codemirror/addon/hint/css-hint.js: "Cannot find module named '../../mode/css/css' required by module '$:/plugins/tiddlywiki/codemirror/addon/hint/css-hint.js', resolved to $:/plugins/tiddlywiki/codemirror/mode/css/css"

undefined

This started obviously after I installed the codemirror plugin and started using it.

Can someone help understand and fix this?

Regards,
Adithya

Soren Bjornstad

unread,
Feb 5, 2021, 6:39:04 PM2/5/21
to TiddlyWiki
I was also getting this error (it appears to be the Autocomplete CodeMirror sub-plugin in particular causing the issue). I was able to resolve the problem by installing the Code Mirror Mode CSS plugin, $:/plugins/tiddlywiki/codemirror-mode-css.

Presumably it is not the intended behavior for the plugin to require another sub-plugin that it doesn't list as a dependency to avoid throwing JavaScript errors. Does anyone know where bug reports for the CodeMirror plugin should go? The main TW repository, or somewhere else? I would be happy to go file one.

Reply all
Reply to author
Forward
0 new messages