This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
UpgradeError Dexie specification of currently installed DB version is missing #528
Closed
Description
Hit a blocker while trying to get js-ipfs running with orbit-db.
I initialize the daemon with:
const Ipfs = require('exports?Ipfs!ipfs/dist/index.js')
const ipfs = new Ipfs()
ipfs.init((err) => {
// do stuff with daemon
})
Then run my code through webpack and load in the browser. The following error occurs:
index.js:64 OpenFailedError: UpgradeError Dexie specification of currently installed DB version is missing
at Transaction.create (file:///Users/haad/code/orbit-db/examples/browser/bundle.js:78571:34)
at file:///Users/haad/code/orbit-db/examples/browser/bundle.js:78602:61
at executePromiseTask (file:///Users/haad/code/orbit-db/examples/browser/bundle.js:76802:12)
at new Promise (file:///Users/haad/code/orbit-db/examples/browser/bundle.js:76608:8)
at file:///Users/haad/code/orbit-db/examples/browser/bundle.js:78600:42
at usePSD (file:///Users/haad/code/orbit-db/examples/browser/bundle.js:77110:19)
at newScope (file:///Users/haad/code/orbit-db/examples/browser/bundle.js:77097:17)
at Transaction._promise (file:///Users/haad/code/orbit-db/examples/browser/bundle.js:78596:23)
at tempTransaction (file:///Users/haad/code/orbit-db/examples/browser/bundle.js:77579:29)
at file:///Users/haad/code/orbit-db/examples/browser/bundle.js:77575:27
at callListener (file:///Users/haad/code/orbit-db/examples/browser/bundle.js:76901:22)
at endMicroTickScope (file:///Users/haad/code/orbit-db/examples/browser/bundle.js:76990:28)
at IDBOpenDBRequest.<anonymous> (file:///Users/haad/code/orbit-db/examples/browser/bundle.js:77076:33)
Is my initialization code correct? Is there something else to get a running daemon? I tried to look at the tests but couldn't figure out what to do.
Metadata
Metadata
Assignees
Labels
No labels