Hi again

Now bld.sh seems to work fine - even if it's showing the same error:
SyntaxError: Unexpected token ILLEGAL
    at Module._compile (module.js:439:25)  etc..

serve.sh works now - and I'm able to view a TW5 in the browser at
localhost:8081

Seems that Ubuntu - (and Ubuntu derivatives) users have to manually
get the latest node.js. v6 didn't work for me.

http://tw5.tiddlyspace.gir.dk/success.png

Now I'd like to understand how to use TW5 under node.js as I normally
would with a classical TW.

If I create new tiddlers - or edit existing ones - how are they saved?

If they are saved as individual files on disk - will I get a message
which tells me that it has happened?

Do I need to create/save/download a new (main)document every time I've
made a small changes to a tiddler?

Cheers Måns Mårtensson

On 1 Jun., 15:22, Måns <[email protected]> wrote:
> Hi Jeremy
>
> I've downloaded/unpackaged the TiddlyWiki5-master dir and put it in a
> folder "TiddlyWork" where I also created the folder:
> "jermolene.github.com"
>
> Full path: /root/Web-Server/TiddlyWork/TiddlyWiki5-master/
>
> I'm already running a tiddlyweb instance over port 8080 so I changed
> the serve.sh script to run over port 8081...
>
> I get errors which resembles those reported by Dennis 
> here:https://github.com/Jermolene/TiddlyWiki5/issues/73
>
> My Linux system (Puppy Linux) runs as root - so there are no
> permissions restrictions involved:
>
> # node tiddlywiki.js
>
> node.js:201
>         throw e; // process.nextTick error, or 'error' event on first
> tick
>               ^
> TypeError: Cannot read property 'node' of undefined
>     at Object.startup (/root/Web-Server/TiddlyWork/TiddlyWiki5-master/
> boot/boot.js:1220:84)
>     at /root/Web-Server/TiddlyWork/TiddlyWiki5-master/boot/boot.js:
> 1276:11
>     at Object.decryptEncryptedTiddlers (/root/Web-Server/TiddlyWork/
> TiddlyWiki5-master/boot/boot.js:979:2)
>     at /root/Web-Server/TiddlyWork/TiddlyWiki5-master/boot/boot.js:
> 1274:10
>     at Object.<anonymous> (/root/Web-Server/TiddlyWork/TiddlyWiki5-
> master/boot/boot.js:1279:3)
>     at Module._compile (module.js:441:26)
>     at Object..js (module.js:459:10)
>     at Module.load (module.js:348:32)
>     at Function._load (module.js:308:12)
>     at Module.require (module.js:354:17)
> #
>
> Maybe my node.js version is simply too old? (latest stable version
> from the Ubuntu Precise repository is v0.6.12)
> Does it have to be > ver. 10?
>
> # node --version
> v0.6.12
>
> When I run bld.sh to files are created in the jermolene.github.com
> folder:
> 1) An empty folder: "static"
> 2) A file: CNAME
>
> nothing more..
>
> Dump:
> # node bld.sh
>
> /root/Web-Server/TiddlyWork/TiddlyWiki5-master/bld.sh:3
> # build TiddlyWiki5 for five.tiddlywiki.com
> ^
>
> node.js:201
>         throw e; // process.nextTick error, or 'error' event on first
> tick
>               ^
> SyntaxError: Unexpected token ILLEGAL
>     at Module._compile (module.js:429:25)
>     at Object..js (module.js:459:10)
>     at Module.load (module.js:348:32)
>     at Function._load (module.js:308:12)
>     at Array.0 (module.js:479:10)
>     at EventEmitter._tickCallback (node.js:192:41)
> #
>
> EDIT:
>
> Now I've downloaded and installed node ver. 10.9 and I get this error:
>
> # node --version
> v0.10.9
> # node tiddlywiki.js
> Missing tiddlywiki.info file at /root/Web-Server/TiddlyWork/
> TiddlyWiki5-master
>
> bld.sh gives me this error:
> # node bld.sh
>
> /root/Web-Server/TiddlyWork/TiddlyWiki5-master/bld.sh:3
> # build TiddlyWiki5 for five.tiddlywiki.com
> ^
> SyntaxError: Unexpected token ILLEGAL
>     at Module._compile (module.js:439:25)
>     at Object.Module._extensions..js (module.js:474:10)
>     at Module.load (module.js:356:32)
>     at Function.Module._load (module.js:312:12)
>     at Function.Module.runMain (module.js:497:10)
>     at startup (node.js:119:16)
>     at node.js:901:3
> #
>
> I will try a reboot and see what happens...
>
> Cheers Måns Mårtensson
>
> On 1 Jun., 01:48, Måns <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi Jeremy
>
> > I'm using Node.js for saving classic tiddlywikis for every day use..
> > When I try to do this with a "one-file" TW5 I'm forced to download a new
> > copy every time I click "save".
>
> > Classic TW 2.8.0 (beta 1) is capable of creating a download when clicking
> > "save" if there is no server backend - AND it works with Poul Staugaard's
> > "node.js one-file" save-script.
> > It will overwrite previous file and create backup files... (standard/"old"
> > behaviour)
>
> > Would it be feasible to make the "stand alone" TW5 behave like this too? -
> > then all versions of TW5 could be saved back to disk via node.js
>
> > Cheers Måns Mårtensson
>
> > Den onsdag den 29. maj 2013 10.11.44 UTC+2 skrev Jeremy Ruston:
>
> > > Yesterdays TiddlyWiki5 Hangout was 70% brilliant and 30% deeply
> > > frustrating connection problems.
>
> > > I think that part of the problem may have been that the time slot was
> > > right at the time that there is a surge in broadband usage as people get
> > > home and start streaming video from BBC iPlayer.
>
> > > So, I'd like to try to schedule another hangout quite soon. I've put
> > > together another Doodle poll to choose times on Monday 3rd or Tuesday 4th
> > > June:
>
> > >http://doodle.com/ewms95nfupu83spy
>
> > > If you've any questions you'd particularly like to cover, please post them
> > > here.
>
> > > Many thanks,
>
> > > Jeremy
>
> > > --
> > > Jeremy Ruston
> > > mailto:[email protected] <javascript:>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to