Breaking And Fixing Things
I have been having fun breaking and fixing my wiki over the last several days, and in the process learned more about wiki. Wiki is written in nodejs and there is a wiki-server and a wiki-client along with several plugins. My adventures began when an update was made to wiki-client that broke the ability to use HTML forms in a wiki page. A fix was made to wiki-client that resolved the problem but my server was not getting the update.
It appears that somewhere along the line I managed to install wiki in two different directories on my server. The install from which I was running wiki was not updating when I ran npm install -g wiki and it took me a while to figure out how to run the global install instance of wiki that I was updating.
Today I removed the “second” installation but now I have to provide the full path to the correct, current, installation of wiki. When I just run wiki it tries to run it from a directory in which it is no longer located. I must have an alias or script pointing it in that direction but for now I haven’t figured it out.
Anyway, I now have the current verison of wiki-client so I can now fill in html forms, one of which is for a search plugin that now appears to be broken. Oy vey! Search works on a older installation on my Pixelbook, but the new version/current version is not working.
At least I did manage to get the graphviz plugin installed (you can see it in action on this page), figuring out how to set up myself as an admin user to do the installation took time to suss out.
Breaking and fixing things is a important part of the learning process when learning software.