Issue after Node Tiddlywiki instance upgraded to 5.1.20

27 views
Skip to first unread message

Scott Kingery

unread,
Aug 30, 2019, 9:32:08 PM8/30/19
to TiddlyWiki
I had this issue after I upgraded. I've solved it so I thought I'd share in case anyone runs into this.

I updated my node.js tiddlywiki instance and as far as I could tell, everything went fine.

Then I went to start my wiki and I got this error:

 syncer-server-filesystem: Dispatching 'save' task: $:/StoryList
$:/
plugins/tiddlywiki/filesystem/filesystemadaptor.js:74
                $tw
.utils.saveTiddlerToFile(tiddler,fileInfo,callback);
                         
^


TypeError: $tw.utils.saveTiddlerToFile is not a function
    at $
:/plugins/tiddlywiki/filesystem/filesystemadaptor.js:74:13
    at
FileSystemAdaptor.getTiddlerFileInfo ($:/plugins/tiddlywiki/filesystem/filesystemadaptor.js:61:2)
    at
FileSystemAdaptor.saveTiddler ($:/plugins/tiddlywiki/filesystem/filesystemadaptor.js:70:7)
    at
Syncer.dispatchTask ($:/core/modules/syncer.js:494:21)
    at
Syncer.processTaskQueue ($:/core/modules/syncer.js:437:9)
    at
Timeout._onTimeout ($:/core/modules/syncer.js:416:26)
    at ontimeout
(timers.js:436:11)
    at tryOnTimeout
(timers.js:300:5)
    at listOnTimeout
(timers.js:263:5)
    at
Timer.processTimers (timers.js:223:10)


On a whim, I went to the github page for the filesystem plugin 
downloaded the latest one and put it into my node_modules\tiddlywiki\plugins\tiddlywiki\filesystem folder, replacing the one that is there.

Now all seems fine! My tiddlywiki started with no problems.

Interestingly, the filesystemadaptor.js is 104KB and is only 9 days old according to github. The one it replaced was 4KB so something strange happened.
Reply all
Reply to author
Forward
0 new messages