TiddlyPWA script not creating database

Hello,

I have been using TiddlyWiki for a few months now with TiddlyDesktop. I love it but want to move on to having a better multi computer experience. I have been trying to get TiddlyPWA up and running. I have tried in Windows and now I am working with one of my Linux machines. I installed Deno and I have the script arguments with the password hash and salt. I created the /var/db/tiddly directory. I have tried running the creation script as a regular user and as root. I keep getting the error:

error: Uncaught (in promise) NotFound: No such file or directory (os error 2): open ‘/var/db/tiddly/pwa.db’
const file = Deno.openSync(path, { read: true, write, create });

Anyone have suggestions?

Thanks!

Hi,

Maybe TiddlyPWA’s creator @valpackett could help?

Fred

That would be great. Right now I am playing around with Tiddly Bob. It is working ok, but I like the idea of using an app. I also like having it stored on my own network.

Just an update on this issue in case anyone else runs into it. On Windows, make sure you are not in your user profile folder when trying to run this.
I have everything working in Windows and I am trying to get it to run in Linux now.
Getting the following error:

error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘length’)
if (base64url.length % 4 === 2) return base64url + “==”;

Fixed that error too! Was just my script missing the \ after a couple of the lines.