Node.js error - can't start server (but managed to earlier)

42 views
Skip to first unread message

Suzanne McHale

unread,
Mar 24, 2017, 11:26:53 PM3/24/17
to tiddl...@googlegroups.com
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
Serving on 127.0.0.1:8080
(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.)

BJ

unread,
Mar 25, 2017, 4:26:59 AM3/25/17
to TiddlyWiki
Hi Suzanne,

what version of node and what system (eg windows+version) are you using?

cheers
BJ
Reply all
Reply to author
Forward
0 new messages