I managed to get node.js working once earlier to generate a static site, then stopped it, but when wanting to start it again later, I get this error:
H:\nodejs-portable-master>tiddlywiki programtips --server
(press ctrl-C to exit)
$:/core/modules/syncer.js:407
if(this.syncadaptor.isReady() && this.numTasksInProgress() === 0) {
^
TypeError: undefined is not a function
at Syncer.processTaskQueue ($:/core/modules/syncer.js:407:22)
at $:/core/modules/syncer.js:371:55
at process._tickCallback (node.js:355:11)
at Function.Module.runMain (module.js:503:11)
at startup (node.js:129:16)
at node.js:814:3
H:\nodejs-portable-master>
I don't know why it works sometimes and not others, but what could be going wrong? (This is why I hate generating sites this way; node.js seems flaky and unreliable.)