Closed carldegs closed 10 months ago
Can I work on this issue ?
If it's running in the browser, then you should use the local storage adapter (see docs) alternatively you can create an API that runs on Node, this way you can use the JSONFile adapter.
I am using lowdb as a temporary db for my web app made in Vite. I'm trying to use the JSONFile adapter but I am getting the following error:
And this is how I've setup my db:
Libraries used: vite@4.3.9 lowdb@6.0.1