I clone orbit-db local ,then make build ,but the example get a error
ipfs.js:97928 Uncaught TypeError: Cannot read property 'generateKey' of undefined
at Object.exports.generateKey (ipfs.js:97928)
at Object.generateKeyPair (ipfs.js:152536)
at Object.exports.generateKeyPair (ipfs.js:148322)
at waterfall (ipfs.js:23901)
at nextTask (ipfs.js:17840)
at exports.default (ipfs.js:17850)
at Function.exports.create (ipfs.js:23900)
at waterfall (ipfs.js:195187)
at nextTask (ipfs.js:17840)
at next (ipfs.js:17847)
ipfs.js:35437 Uncaught Error: Callback was already called.
at ipfs.js:35437
at db.get (ipfs.js:39975)
at dispatchError (ipfs.js:75572)
at ipfs.js:111222
at IDBTransaction.tx.onabort (ipfs.js:40277)
why this happen , is some thing wrong?
by make build do you npm install?
I was unable to replicate. Can you tell us what OS you're doing this on, and if you ran any other commands?
@willemneal make build automatically calls npm install.
this OS is Ubuntu 18.04 LTS, I only ran the command "make clean & make"
Thanks. I don't have an Ubuntu machine to test this on; hopefully one of the other maintainers or community members will have an idea how to test this.
virtualbox + ubuntu 18 , I use this for develop