Claude Code12 min read
Fix 'ReadableStream is not defined' with the Claude SDK
Getting 'readablestream is not defined' from the Claude SDK in Node? Learn the root cause and the ordered fixes: upgrade Node, polyfill, or configure your runtime.
Getting 'readablestream is not defined' from the Claude SDK in Node? Learn the root cause and the ordered fixes: upgrade Node, polyfill, or configure your runtime.
Node.js for Claude Code: the native installer needs none, npm wants Node 22+. Check your version, set up nvm per OS, and fix common install errors.