Hello folks, I'm trying to figure out node.js.
Right now, I"m trying to build a new wiki from empty and add a few tiddlers, by running a bash script. My script has this line: tiddlywiki new --verbose --init empty --load new-tiddlers.json --build index My intentions are to (1) create a new empty wiki in the /new subdirectory of the current directory (2) load a few tiddlers from a json file and (3) create a new index.html file in the default output directory. I get this response (below), which indicates to me that the init and the load work, but the build does not. Thanks! //steve. Boot log: Startup task: load-modules Startup task: info after: load-modules before: startup Startup task: startup after: load-modules Startup task: story after: startup Startup task: commands platforms: node after: story Executing command: init empty Copied edition 'empty' to new Executing command: load new-tiddlers.json Executing command: build index $:/core/modules/commands/build.js:27 var buildTargets = $tw.boot.wikiInfo.build; ^ TypeError: Cannot read property 'build' of null at Command.execute ($:/core/modules/commands/build.js:27:38) at Commander.executeNextCommand ($:/core/modules/commander.js:100:14) at Command.callback ($:/core/modules/commander.js:112:13) at Command.execute ($:/core/modules/commands/load.js:46:8) at Commander.executeNextCommand ($:/core/modules/commander.js:115:14) at Commander.executeNextCommand ($:/core/modules/commander.js:104:12) at Commander.executeNextCommand ($:/core/modules/commander.js:104:12) at Commander.execute ($:/core/modules/commander.js:64:7) at Object.exports.startup ($:/core/modules/startup/commands.js:34:12) at $tw.boot.executeNextStartupTask (/usr/local/lib/node_modules/tiddlywiki/boot/boot.js:2069:10) -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f23ab751-d3ab-477c-b717-1d730f500d27%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.