Hello, everyone!
I am back after a sort-of hiatus from programming and tiddly-ing — it’s nice to be back, and I hope that in the coming months I’ll give a little more back to this community!
At the moment, I am having an issue that relates to another thing I’m trying out. I am trying to run a rendering command
tiddlywiki ~/paogarden --render "[tag[public-eng]]" "[get[slug]addsuffix[.html]]" text/plain $:/core/templates/paogarden.tiddler.html
but it soon fails with
node:internal/errors:540
throw error;
^
TypeError [ERR_INVALID_ARG_TYPE]: The "paths[1]" argument must be of type string. Received undefined
at Object.resolve (node:path:1128:7)
at $:/core/modules/commands/render.js:48:24
at $tw.utils.each ($:/boot/boot.js:146:12)
at Command.execute ($:/core/modules/commands/render.js:47:13)
at Commander.executeNextCommand ($:/core/modules/commander.js:107:14)
at Commander.execute ($:/core/modules/commander.js:64:7)
at exports.startup ($:/core/modules/startup/commands.js:34:12)
at $tw.boot.executeNextStartupTask ($:/boot/boot.js:2585:10)
at $tw.boot.executeNextStartupTask ($:/boot/boot.js:2583:21)
at $tw.boot.executeNextStartupTask ($:/boot/boot.js:2583:21) {
code: 'ERR_INVALID_ARG_TYPE'
}
it does render a few files, however, in alphabetic order; and there is one that it will consistently not render and I am not sure why. Below you’ll also find the contents of my tiddlywiki.info
file.
"description": "Basic client-server edition",
"plugins": [
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
"tiddlywiki/highlight",
"tiddlywiki/codemirror"
],
"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
],
"build": {
"index": [
"--rendertiddler",
"$:/plugins/tiddlywiki/tiddlyweb/save/offline",
"index.html",
"text/plain"
],
"static": [
"--rendertiddler",
"$:/core/templates/static.template.html",
"static.html",
"text/plain",
"--rendertiddler",
"$:/core/templates/alltiddlers.template.html",
"alltiddlers.html",
"text/plain",
"--rendertiddlers",
"[!is[system]]",
"$:/core/templates/static.tiddler.html",
"static",
"text/plain",
"--rendertiddler",
"$:/core/templates/static.template.css",
"static/static.css",
"text/plain"
]
}
}
Any guidance would be tremendously appreciated! I could not find much about the problem from reading the source code.
Thank you in advance!