Questions tagged [leveldown]

9 questions
3
votes
0 answers

No native build was found for platform=linux arch=x64 runtime=electron abi=85 uv=1 libc=glibc

In a Electron-Typescript-React-Webpack app I'm having this strange issue, and I guess it's something related to webpack configuration, since it appeared after working on it to solve another problem. (base)…
Raphael10
  • 2,508
  • 7
  • 22
  • 50
3
votes
1 answer

LevelDB with Node throws error on creation

I am just trying to open a db through: let LevelUP = require('levelup'); let LevelDown = require('leveldown'); let path = require('os').homedir() + '/keys.db'; let db = LevelUP(LevelDown(path)); ... and getting an error. The Error object traces…
Mike M
  • 4,879
  • 5
  • 38
  • 58
2
votes
1 answer

Unable to use leveldown package using Electron

When I try to build my applicaton using electron it crashes on leveldown library Error: The module '/Users/macosx/Documents/Electron/node_modules/leveldown/build/Release/leveldown.node' was compiled against a different Node.js version…
Orlin Bobchev
  • 177
  • 1
  • 3
  • 13
1
vote
0 answers

leveldown : No native build was found for platform=linux arch=x64 runtime=electron abi=82 uv=1 libc=glibc node=12.16.3 electron=10.2.0 webpack=true

In Electron-Typescript app I'm having this issue: (node:26402) UnhandledPromiseRejectionWarning: Error: No native build was found for platform=linux arch=x64 runtime=electron abi=82 uv=1 libc=glibc node=12.16.3 electron=10.2.0 webpack=true …
Raphael10
  • 2,508
  • 7
  • 22
  • 50
1
vote
1 answer

Compiling with python on CentOS 8 returns errors

I have installed the latest node, npm and python versions but get the following error when I try to install leveldown (using npm): > leveldown@2.1.1 install /root/apps/authentication/node_modules/leveldown > prebuild-install || node-gyp…
Nate
  • 7,606
  • 23
  • 72
  • 124
1
vote
1 answer

query values in leveldb database in nodejs

How could I query a levelDB database by values in nodejs? I have key: value pairs in my leveldb database and I want to search some values in it and find that key-value pair from that result. I am a beginner in leveldb. { "key1" : { …
shubgpt
  • 15
  • 1
  • 3
1
vote
0 answers

LevelUp retrieves (gets) string data as Uint8Array

I am saving a hex string using levelup in a Node.js application. const levelUP = require('levelup'); const levelDown = require('leveldown'); const db = levelUP(levelDown('./names.db'), (er, up) => { if (er) { return; } let id = 'id3'; let…
Mike M
  • 4,879
  • 5
  • 38
  • 58
0
votes
0 answers

How to use medeadown as alternative for leveldown in PouchDB

I am working on node express API project which uses PouchDB and it should sync with remote CouchDB. Its working fine in the desktop. I am not able to use PouchDB in Android/iOS. The reason is that leveldown which came as a dependency of PouchDB, is…
linn
  • 81
  • 2
  • 8
-1
votes
1 answer

Invalid Version TypeError when using nw-gyp to build the leveldown module for Windows PouchDB

I actually found the answer to this question already, and just want to document my finding. First of all, this problem is not specific to building the leveldown module for Windows PouchDB. From what I have read online, it is a fairly common…
toyssamurai
  • 561
  • 4
  • 13