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 написал: > > 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 > > On 8 Aug 2018, at 15:24, Michael Chistyakov <[email protected] > <javascript:>> wrote: > > 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) > > > > -- > 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] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > 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 > > <https://groups.google.com/d/msgid/tiddlywiki/91f6b4aa-52b4-42e2-a83f-9fba69a9d9a4%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4f7d91c5-a492-4f80-b6f0-235c2228e144%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

