Symptom
Streaming a LangGraph.js graph in React Native throws This stream has already been locked for exclusive reading by another reader.
Evidence what you'll see
- The report also shortens it to
This stream has already been locked. Settingstreamingto false did not change LangGraph's own use ofReadableStream. - A 15 Jul 2025 comment says rolling back to
@langchain/langgraph0.2.61clears the error. A 15 Aug 2025 comment sayschain.invokehits it too, and0.2.61works.
Why it happens
Pull request 1592 says IterableReadableStreamWithAbortSignal._reader shadowed ReadableStream._reader under web-streams-polyfill, so the async iterator checked the wrong reader for locked. React Native supplies that polyfill. Node and browsers did not.
Affected versions
@langchain/langgraph ^0.3.4, react-native 0.79.4, expo ~53.0.12, react 19.0.0, @langchain/core ^0.3.61. The issue names the JavaScript engines Hermes and JavaScriptCore.
Fix steps
0 of 2 done
Your check marks stay in this browser only.
How to check it worked
- A stream in the React Native app no longer throws
This stream has already been locked for exclusive reading by another reader.
If it still fails
- The 15 Jul 2025 comment's pin is
@langchain/langgraph0.2.61. - A comment on 1 Oct 2025 says upgrading to the latest packages still did not stream in React Native. The linked issue does not name the version that comment installed.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change
Hit an error we don't cover? Submit it