Questions tagged [lowdb]
20 questions
0
votes
1 answer
Lowdb return undefined
I'm doing a Discord bot with command handling, but on a file, I can't get the content of my JSON file out with lowdb... I proceed exactly the same way with success in the other files, I don't understand... Here is my code:
const low =…

dolor3sh4ze
- 925
- 1
- 7
- 25
0
votes
1 answer
Pattern for a React component with access to lowdb
I am looking for a pattern for a react component. It should include lowdb. Someone already build one?

c0mmand0r
- 33
- 5
0
votes
0 answers
fs.existsSync is not a function in Nuxt JS + Lowdb
What I need:
Read a local JSON file inside NuxtJS as the page loads. So I can parse it into a prop within

Reinaldy
- 205
- 2
- 5
- 14
-1
votes
1 answer
lowdb remove key value pair from db file
I am using lowdb as my database. So the database file db.json looks like below.
{
"posts": {
"user1" : {
id: 1,
published: false
},
"user2" : {
id: 2,
published: true
}
},
"comments": {
…

user10518298
- 169
- 1
- 16
-1
votes
1 answer
Cannot read property `match` of undefined. I have no clues about it, since it doesn't point to any files
I'm getting this error : Cannot read property match of undefined.
Cannot read property 'match' of undefined
This is the line in polyfills.js pointed by the error message:
process.version.match
I do not have any clue about this kind of problem,…

Raphael10
- 2,508
- 7
- 22
- 50