Open
Description
So I followed the docs
import LinvoDB from 'linvodb3';
import Level from 'level-js'; // had to this way due to my build process
LinvoDB.defaults.store = { db: Level };
LinvoDB.dbPath = dirname(remote.getGlobal('sharedStorage').dbPath);
const db = new LinvoDB('songlibrary', {}, {});
And what happens is I get a js error out of LevelUP when it's trying to setup the readStream
Uncaught TypeError: Cannot read property 'bind' of undefined
at new ReadStream (index.js:16)
at LevelUP../node_modules/linvodb3/node_modules/levelup/lib/levelup.js.LevelUP.readStream.LevelUP.createReadStream (levelup.js:274)
at Function../node_modules/linvodb3/lib/model.js.Model.buildIndexes (model.js:119)
at bagpipe.js:157
Metadata
Metadata
Assignees
Labels
No labels