Open crasu opened 5 months ago
Since you're not running this in a browser, you may need some polyfills
import 'web-streams-polyfill'; // Polyfill TransformStream globally
import 'isomorphic-fetch'; // Polyfill fetch globally
import { Blob } from 'blob-polyfill'; // Polyfill Blob globally
globalThis.Blob = Blob;
Description
When running the sample code in nodejs I get the error above. Does this only work with bun?
Code
Node version
v20.11.0