Tony: Thanks for running that on another Node.js. I run several Electron apps (ala Joplin) that hadn't had any issues with so I didn't figure it would be npm related. I will dig into that further. I don't run Bob. I do get an error on startup related to the Moment.js plugin. But the plugin is available and works (used on a custom javascript date formatting macro).
> tiddlywiki ~/tiddylwikis/try1 --listen port=8899 --verbose > Warning: Cannot find plugin 'kixam/moment' <<jon>> On Monday, April 27, 2020 at 9:14:05 PM UTC-4, TonyM wrote: > > Jon, > > Your example not only should work, but does on my node, using BobWin.exe > > Something is wrong. When it comes to node versions and single file there > is very little difference when using the interactive wiki however it is > served. > > Regards > Tony > > On Tuesday, April 28, 2020 at 10:37:04 AM UTC+10, Jon Ewing wrote: >> >> A bit contrived but this example aptly demonstrated the issue I'm >> encountering. >> >> In a single file wiki I can define a tiddler with the following simple >> macro (tagged as '$:/tags/Macro') >> >> *\define concat(s1:"" s2:"" s3:"" s4:"" s5:"") $s1$$s2$$s3$$s4$$s5$* >> >> I can call that macro as wikitext in another tiddler and it renders >> >> *<<concat "This" "Is" "Concatented">>* ---> ThisIsConcatented >> >> The exact same macro definition and call from a different tiddler in a >> Node.js wiki renders nothing. The macro works fine if defined in the same >> tiddler though. >> >> Am I missing something special about using the Node.js version of >> Tiddlywiki? Javascript macros work fine but I hate to have to code up >> javascript for quick and dirty solutions. >> >> I am not an experienced javascript/Node.js/browser developer and so at >> this time don't understand how to trace TiddlyWiki execution. >> >> Many thanks for any insights. >> <<Jon Ewing>> >> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/826cfc89-4913-4845-bf07-0070554c1804%40googlegroups.com.

