TiddlyWiki 5.18 can't login

102 views
Skip to first unread message

Michael Chistyakov

unread,
Aug 8, 2018, 10:24:58 AM8/8/18
to TiddlyWiki
Hello! I'm testing TW5 prerelease 5.18 and start server with the following parameters

tiddlywiki editions/tw5.com-server --listen username=name password=password


But when I visit http://127.0.0.1:8080 I get the following error in console


$:/core/modules/utils/utils.js:715

return Buffer.from(string64,"base64").toString();

              ^


TypeError: base64 is not a function

    at Function.from (native)

    at Function.from (native)

    at exports.base64Decode ($:/core/modules/utils/utils.js:715:17)

    at BasicAuthenticator.authenticateRequest ($:/core/modules/server/authenticators/basic.js:70:20)

    at Server.requestHandler ($:/core/modules/server/server.js:174:30)

    at emitTwo (events.js:87:13)

    at Server.emit (events.js:172:7)

    at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:528:12)

    at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23)



Jed Carty

unread,
Aug 8, 2018, 10:41:54 AM8/8/18
to TiddlyWiki
I am not sure about the specific error you have, but the Buffer module in node changed at some point in the not-too distant past and there have been problems because of it. If you are using a node version before 6 I think that updating node may take care of the problem.

Jeremy Ruston

unread,
Aug 9, 2018, 5:50:35 PM8/9/18
to tiddl...@googlegroups.com
Hi Michael

It sounds like you’ve got a really old version of Node.js installed; try installing the latest version https://nodejs.org/

Best wishes

Jeremy

-- 
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 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/91f6b4aa-52b4-42e2-a83f-9fba69a9d9a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Chistyakov

unread,
Aug 10, 2018, 8:29:30 AM8/10/18
to TiddlyWiki
Thank you! You are right it was old version of node. Now authorization works, but I can't logout 

пятница, 10 августа 2018 г., 0:50:35 UTC+3 пользователь Jeremy Ruston написал:
Reply all
Reply to author
Forward
0 new messages