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
> > mailto:
jeremy...@gmail.com <javascript:>