-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Uncaught Error: no writecb in Transform class #318
Comments
Also, this is pretty much a blocker as it happens every time and prevents js-ipfs to run smoothly. |
interesting, not seen before |
Repro case: https://github.com/haadcode/orbit-db/tree/latest-js-ipfs (run If you leave out the goOnline here https://github.com/haadcode/orbit-db/blob/latest-js-ipfs/test/counterdb.test.js#L46, the tests pass. |
I did some digging into this. The symptom ( It looks like there's a race condition in js-ipfs-bitswap in the case that the underlying block datastore takes a long time to do a I filed a PR (ipfs/js-ipfs-bitswap#20) and confirmed that it fixes your error. 🎉 |
@haadcode can you confirm the error no longer exists? Closing, reopen if necessary |
Came across the following error while running tests for orbit-db.
It happens on .files.add, using the following:
It happens always. However, if I don't call
ipfs.goOnline()
at init, the error doesn't occur.ipfs v0.13.0
The text was updated successfully, but these errors were encountered: