Uncaught Exception:
TypeError: Cannot read property 'length' of null
at RandomAccessFile.RandomAccess.write (/private/tmp/tmpdir/paCeOU/upender/node_modules/random-access-storage/index.js:64:53)
at /private/tmp/tmpdir/paCeOU/upender/node_modules/hypercore-x/lib/block-store.js:42:20
at new Promise (<anonymous>)
at BlockStore._write (/private/tmp/tmpdir/paCeOU/upender/node_modules/hypercore-x/lib/block-store.js:41:12)
at BlockStore.put (/private/tmp/tmpdir/paCeOU/upender/node_modules/hypercore-x/lib/block-store.js:14:17)
at async verifyAndWrite (/private/tmp/tmpdir/paCeOU/upender/node_modules/hypercore-x/lib/replicator.js:798:5)
at async RequestPool.ondata (/private/tmp/tmpdir/paCeOU/upender/node_modules/hypercore-x/lib/replicator.js:469:7)
at async Replicator.ondata (/private/tmp/tmpdir/paCeOU/upender/node_modules/hypercore-x/lib/replicator.js:731:7)