Tiddly Wiki on Node JS (Termux and Tiddly Server)

363 views
Skip to first unread message

Egbert

unread,
Nov 11, 2017, 11:57:06 AM11/11/17
to TiddlyWiki

1) Hi all, having installed Termux on my Android phone (Android version 7.1.1) and then installing TiddlyWiki on Node JS with ‘npm install -g tiddlywiki’, all went presumably fine. However when I then check if TiddlyWiki is installed with ‘tiddlywiki –version’, I get the following message:


bash: /data/data/com.termux/files/usr/bin/tiddlywiki: /usr/bin/env: bad interpreter: No such file or directory


Also creating a folder for a new wiki with ‘—init server’ or starting TiddlyWiki does not work. Any idea how to solve this?

 

2) On a different note, when using TiddlyServer on my Windows 10 laptop and opening a Tiddler, I get a “false filepath” pink message in command line terminal:


“For Draft of ‘Name of Tiddler’ type is application/x-tiddler has MetaFile is false filepath is C:\Users\Admin\...\Draft of ‘Name of Tiddler’tid”


It somehow has no negative consequences (at least I cannot see them yet), but I’m just curious what’s behind this message and if it might harm my file later on?


Thanks for any help and also for this wonderful concept of putting TiddlyWiki on Node JS (finally my TiddlyWiki files can be as big as I  want them to be :-)).

Xavier Cazin

unread,
Nov 12, 2017, 4:13:18 PM11/12/17
to tiddl...@googlegroups.com
Hi Egbert,

What do the commands "which node" and "pkg show nodejs" say?

XC.

-- Xavier Cazin

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/73d6046a-9cfa-4e54-88de-14a4c6f12a41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Egbert

unread,
Nov 12, 2017, 5:48:00 PM11/12/17
to TiddlyWiki
Hi Xavier, thanks so much for offering help.That's what I get:

$ which node
/data/data/com.termux/files/usr/bin/node

$ pkg show nodejs
Package: nodejs
Version: 8.9.0-1
Maintainer: Fredrik Fornwall @fornwall
Installed-Size: 47.0 MB
Depends: openssl, c-ares
Conflicts: nodejs-current
Homepage: https://nodejs.org/
Download-Size: 5859 kB
APT-Manual-Installed: yes
APT-Sources: http://termux.net stable/main aarch64 Packages
Description: Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications

SteveH

unread,
Nov 12, 2017, 6:33:00 PM11/12/17
to TiddlyWiki

Xavier Cazin

unread,
Nov 13, 2017, 2:34:44 AM11/13/17
to tiddl...@googlegroups.com
Hi Egbert,

I think that you need to replace #!/usr/bin/env node by 

#!/data/data/com.termux/files/usr/bin/env node

as the first line of the tiddlywiki script, using the command :

"termux-fix-shebang /data/data/com.termux/files/usr/bin/tiddlywiki"

Cheers,
Xavier.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
Reply all
Reply to author
Forward
0 new messages