langchainjs: ReferenceError: ReadableStream is not defined

ReferenceError: ReadableStream is not defined
    at file:///home/alex/toky/backend/v4/node_modules/.pnpm/langchain@0.0.122_axios@1.4.0_cheerio@1.0.0-rc.12_playwright@1.36.2_puppeteer@21.0.1/node_modules/langchain/dist/util/stream.js:41:45
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    at async loadESM (node:internal/process/esm_loader:91:5)
    at async handleMainPromise (node:internal/modules/run_main:65:12)

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 16

Most upvoted comments

I’m fairly confident that something like the above comment is the result of everyone’s issue here - can folks triple check?

Ugh. 100% that was the issue. My debug terminal was on node 16. Thanks

On Thu, Aug 10, 2023 at 6:40 PM Jacob Lee @.***> wrote:

I’m fairly confident that this is the result of everyone’s issue here - can folks triple check?

— Reply to this email directly, view it on GitHub https://github.com/hwchase17/langchainjs/issues/2166#issuecomment-1674016108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIQ6JLSSPJY2VVATSQRNLDXUVPNPANCNFSM6AAAAAA3EXHQAU . You are receiving this because you were mentioned.Message ID: @.***>