The following works:
const ipfs = await IPFS.create({repo: String(Math.random() + Date.now()) })
And the following fails:
const ipfs = await IPFS.create()
in the Browser.
However the code that fails in the browser works in node.js with no problems.
It seems the ‘repo’ option is used for a lockfile or something? Or is this a complete red herring?
I am just trying to use this stuff so have absolutely no idea about anything, just thought this behaviour was weird and I know I am not understanding something.