dxos-deprecated / random-access-multi-storage

GNU Affero General Public License v3.0
1 stars 2 forks source link

TypeError: Cannot read property 'callback' of null #4

Open dmaretskyi opened 4 years ago

dmaretskyi commented 4 years ago

image

Uncaught TypeError: Cannot read property 'callback' of null
    at WriteRequest.onwrite (webpack-internal:///../../node_modules/random-access-chrome-file/index.js:164)
    at FileWriter.writer.onwriteend (webpack-internal:///../../node_modules/random-access-chrome-file/index.js:134)

Running dxos/teamwork at 1acee93 Steps:

  1. Opened an app
  2. Synced all of the mutation from other client running on the same machine (different chrome profile)
  3. Made one mutation in the remote client

Alternative steps:

  1. Create a party
  2. Create a canvas
  3. Invite another client
  4. Invited client has this error immediately after accepting invite
tinchoz49 commented 4 years ago

@Marik-D is this happening randomly?

tinchoz49 commented 4 years ago

@Marik-D I update random-access-chrome-file with the fix, can you try to pull the latest commit on teamwork (and do an update of dependencies).