Skip to content

Bug: import { WritableStream } from 'stream/web' fails with Cannot read file node_modules\stream-browserify\web #136

@meghdip-fenrir

Description

@meghdip-fenrir

Summary

I am trying to use a dependency @mastra/core, which imports from "stream/web".

I am using vite node polyfills with "stream" in the include array. And yet it still fails with the error cannot read file, because the writable stream doesn't indeed exist in stream-browserify package

Any help would be appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions