Hi Jeremy, thanks for your reply. Indeed, I had figured out my wrong approach exactly along the lines you sketch in your message. I was about to write down an addendum on "How to develop a plugin with Node and TW5 in your own repo" for possible inclusion in the docs when I got your message.
Here is what I did, for future ref: 1. Blank slate: erased the local copy of the TW5, plugins folder, and son on. 2. Installed tiddlywiki with my distribution's package manager (pacman, as I am on Archlinux) 3. Created a local barebones tiddlywiki server edition with the usual --init server command 4. Added a plugins/myplugin folder to the newly created, personal tiddlywiki 5. Created a plugin.info file and a skeletal myplugin.js plugin into that folder 6. Added "plugins/myplugin" to the tiddlywiki.info file in the local tiddlywiki root 7. Added Github repos for the plugin and external library pretty much you suggested... On Tue, Feb 5, 2019 at 9:27 AM Jeremy Ruston <jeremy.rus...@gmail.com> wrote: > Hi Stefan > > Those were indeed the instructions I found first. But on the dev site, at > https://tiddlywiki.com/dev/#Developing%20plugins%20using%20Node.js%20and%20GitHub, > the instructions are different. > > > Those instructions are for plugin development. They are focussed on adding > the plugin to the TW5 repo because that’s what you’d need to do if you > planned to submit the plugin as a PR to the core. We should probably add an > update with instructions for working on a plugin within an independent repo. > > You can see plugins in their raw state in the plugins folder of the TW5 > repo. You can also add a “plugins” folder to your wiki folder (alongside > the tiddlywiki.info file), and within that plugins folder have any number > of named plugin folders (ie, the plugin folders will be something like > mywiki/plugins/myplugin/plugin.info). > > They tell you to clone the github repo, and install the tw5.com edition, > not the barebone server one. This is what fails, and twice, as I > described in my post. First it fails to install the locally modified > TW5.com <http://tw5.com/> edition, and then it fails to boot because it > has the wrong path for the language tiddlers (and perhaps it would fail for > other paths as well, but boot.js crashes). > > > The first problem in your OP seems to be a problem with the shell finding > the right copy of TW, perhaps a problem with the PATH environment variable? > > > Regardless, I gave up on installing tw5.com and and now focusing on the > barebone server edition. The next obstacle is how to convice tiddlywiki to > recognize a plugin written externally (i.e. directly as a .js file in an > external editor). There appears to be some magic that escapes me. > > > See the notes above. > > Best wishes > > Jeremy > > > Cheers, > > Stefano > > BTW, I am indeed on linux and using the bash shell > > -- > Stefano Franchi > > stefano.fran...@gmail.com <stef...@tamu.edu> > http://stefano.cleinias.org > > -- > 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 tiddlywikidev+unsubscr...@googlegroups.com. > To post to this group, send email to tiddlywikidev@googlegroups.com. > 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/CAJODLwbfWcYZDOvDbekzw2C2%2BGkKZEODaWxn7uRZ%3D95tf7dQzg%40mail.gmail.com > <https://groups.google.com/d/msgid/tiddlywikidev/CAJODLwbfWcYZDOvDbekzw2C2%2BGkKZEODaWxn7uRZ%3D95tf7dQzg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- > 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 tiddlywikidev+unsubscr...@googlegroups.com. > To post to this group, send email to tiddlywikidev@googlegroups.com. > 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/F11C39F6-9526-4D29-89DC-252DBC140A0C%40gmail.com > <https://groups.google.com/d/msgid/tiddlywikidev/F11C39F6-9526-4D29-89DC-252DBC140A0C%40gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- __________________________________________________ Stefano Franchi stefano.fran...@gmail.com <stef...@tamu.edu> http://stefano.cleinias.org -- 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 tiddlywikidev+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywikidev@googlegroups.com. 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/CAJODLwar8jdj%2B8ktKmkkwTeDBNiLz0j4RSrRqcSKCmLdiHPQTg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.