I have TiddlyMap installed on four TW instances. On two of them, they crash.
A week or three ago, I stepped through the process of updating some Node.js TW’s. Looked like everything went fine on all of them, including a successful OS-level restart.
Today, I did a base OS update (Gentoo), that also seemed to go fine, but now all my TW instances that have TiddlyMap included are throwing errors. Output from the base script is just this:
Warning: Cannot find plugin ‘felixhayashi/tiddlymap’
Warning: Cannot find plugin ‘felixhayashi/vis’
Warning: Cannot find plugin ‘felixhayashi/hotzone’
Warning: Cannot find plugin ‘felixhayashi/topstoryview’
Past that point, in two cases, TW starts up fine, probably because TiddlyMap is present but hasn’t yet been used.
On one case, TW fails, throwing an error about vis.js
[…]
Error executing boot module $:/plugins/felixhayashi/tiddlymap/js/lib/utils/tmap: {“code”:“MODULE_NOT_FOUND”,“requireStack”:["/usr/lib64/node_modules/tiddlywiki/boot/boot.js","/usr/lib64/node_modules/tiddlywiki/tiddlywiki.js"]}node:internal/modules/cjs/loader:998
throw err;
^Error: Cannot find module ‘$:/plugins/felixhayashi/vis/vis.js’
Require stack:
- /usr/lib64/node_modules/tiddlywiki/boot/boot.js
- /usr/lib64/node_modules/tiddlywiki/tiddlywiki.js
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
[…]
In the case where tiddlymap was used the most, TW immediately crashes, doesn’t output those lines, no further info on the shell script at all.
On all four cases, the ‘tiddlywiki.info’ file is the same:
[…]
“plugins”: [
[…]
“felixhayashi/tiddlymap”,
“felixhayashi/vis”,
“felixhayashi/hotzone”,
“felixhayashi/topstoryview”
],
[…]
I’m guessing that I must have missed something basic. Clue?
Thanks,
Michael