Stefano,

On Wed, Feb 6, 2019 at 2:54 PM stefano franchi <[email protected]>
wrote:


> thanks for the tip. I hadn't added a title and module-type to the library
> (in fact, I would rather not touch it, if possible), but doing so does not
> change the outcome. I still get a module not found error.
>

To avoid changing the .js file, you can have a tiddlywiki.files which adds
title and module-type for you. See
https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/railroad/files

If your require is failing, it likely means the tiddler containing your
javascript library is not being loaded. So as a first step, I recommend
doing an advanced search for your library tiddler to verify it is in fact
present in the wiki.

Brian

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/CAO5X8Cwt2_vV_hxoSZ%2BTghAp0r22Fh%3DR2ayKSnFs010Hbeid7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to