When import this `import consumers from 'stream/consumers'`, miniflare complains: ```ts ✘ [ERROR] Co
When import this
BUT: This page says that both the
So why doesn't it work? :)
(Same error if I try
Do I also have to set
import consumers from 'stream/consumers', miniflare complains:BUT: This page says that both the
Buffer and Streams API are supported, and I have set node_compat = true in my wrangler.toml. So why doesn't it work? :)
(Same error if I try
import consumers from 'node:stream/consumers' instead btw.)Do I also have to set
compatibility_flags = [ "nodejs_compat" ] in addition to node_compat = true?Cloudflare Docs
Implemented Node.js runtime APIs and enablement instructions for your Worker project.
