You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importLinvoDBfrom'linvodb3';importLevelfrom'level-js';// had to this way due to my build processLinvoDB.defaults.store={db: Level};LinvoDB.dbPath=dirname(remote.getGlobal('sharedStorage').dbPath);constdb=newLinvoDB('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
The text was updated successfully, but these errors were encountered:
@cutterbl did you figure this out? I may end up going this route because the app I want to use this in is going to be built and packaged for multiple environments.
So I followed the docs
And what happens is I get a js error out of LevelUP when it's trying to setup the readStream
The text was updated successfully, but these errors were encountered: