node.js error message - ?

50 views
Skip to first unread message

David Gifford

unread,
May 12, 2020, 11:54:56 AM5/12/20
to TiddlyWiki
Hi all

I got this error message (see attached image) after editing on node.js, and using

tiddlywiki --rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html static text/plain --rendertiddler $:/core/templates/static.template.css static/static.css text/plain

to export static htmls. I can't tell what I did differently than before. Any advice?

publicdberror.png

Mark S.

unread,
May 12, 2020, 1:59:11 PM5/12/20
to TiddlyWiki
Just passing time until someone knowledgeable comes along.

It kind of looks like you might have broken a JSON tiddler. Did you do any editing in a JSON object -- data dictionary, for instance?

David Gifford

unread,
May 12, 2020, 2:01:08 PM5/12/20
to tiddl...@googlegroups.com
No, I didn't. Very strange.

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/RMovq-sq4mg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d01a7907-df6b-4449-bf10-9c5f1f1fe2ab%40googlegroups.com.

David Gifford

unread,
May 12, 2020, 2:19:32 PM5/12/20
to TiddlyWiki
Well, Mark, the meta data for stylesheets and plugins I imported are split into two tiddlers each, and one of them for each pair is a JSON.tid. Is there a certain way one has to import tiddlers from a standalone into a node.js document?

Mark S.

unread,
May 12, 2020, 2:44:05 PM5/12/20
to TiddlyWiki
Hmm, how did you import them?

David Gifford

unread,
May 12, 2020, 5:05:07 PM5/12/20
to TiddlyWiki
Not sure what happened, but I basically redid the work, since it wasn't much, and it "took" this time. Thanks Mark!

Arlen Beiler

unread,
May 12, 2020, 7:50:10 PM5/12/20
to TiddlyWiki
It looks like there is a JSON file with the text undefined, which is valid JSON.stringify output, but not valid JSON.parse input. It might be a JSON file or a .tid file, I'm not sure which. I'm also not sure if it's a regular file in the tiddlers folder or if it's in some other multids file or something like that, but it does look like it's in a data folder, and not part of a plugin or anything like that. 

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f4668c3e-3e77-4655-b105-479044131186%40googlegroups.com.

Arlen Beiler

unread,
May 12, 2020, 7:51:56 PM5/12/20
to TiddlyWiki
And I mean the literal text "undefined". 

Also, its tiddler type should be "application/json" if it isn't an actual JSON file. I forget off-hand how JSON files are handled exactly, but this one is being parsed as a JSON tiddler. 
Reply all
Reply to author
Forward
0 new messages