Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught (in promise) TypeError: This readable stream reader has been released and cannot be used to read from its previous owner stream #51

Open
happybeing opened this issue Jan 9, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@happybeing
Copy link

I see there's another 'Unhandled Promise' issue but this looks different. Not sure if it is in LDFlex or a dependency.

It is intermittent, but if you clone this repo and run yarn && yarn dev, then refresh the browser a dozen times you should hit the following in the TestLDFlex.svelte component:

Uncaught (in promise) TypeError: This readable stream reader has been released and cannot be used to read from its previous owner stream
    at doRead (conversions.js:45)
    at NodeReadable._read (conversions.js:66)
    at NodeReadable../node_modules/readable-stream/lib/_stream_readable.js.Readable.read (_stream_readable.js:443)
    at flow (_stream_readable.js:813)
    at N3StreamParser.<anonymous> (_stream_readable.js:683)
    at N3StreamParser.emit (events.js:146)
    at onwriteDrain (_stream_writable.js:501)
    at afterWrite (_stream_writable.js:489)
    at afterTick (index.js:41)
    at Item../node_modules/process/browser.js.Item.run (browser.js:153)
@RubenVerborgh RubenVerborgh added the bug Something isn't working label Jan 9, 2020
@cblakeley
Copy link

I've also seen this issue intermittently in the Chrome browser when developing. Firefox seems unaffected and the built app runs in Chrome. A race condition?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants