Skip to content

Yarn support: Yarn PnP can't find __mf__virtual #155

@david-at-ds

Description

@david-at-ds

When using Yarn PnP + Vite I get this error message:

Failed to resolve dependency: __mf__virtual, present in 'optimizeDeps.include'

And then after the server is started:

4:42:25 PM [vite] Pre-transform error: Failed to resolve import "__mf__virtual/test__mf_v__runtimeInit__mf_v__.js" from "virtual:mf-REMOTE_ENTRY_ID". Does the file exist?
4:42:25 PM [vite] Internal server error: Failed to resolve import "__mf__virtual/test__mf_v__runtimeInit__mf_v__.js" from "virtual:mf-REMOTE_ENTRY_ID". Does the file exist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    COMMUNITY: PR is welcomedWe think it's a good feature to have but would love for the community to help with the PR for itenhancementNew feature or requesthelp wantedExtra attention is neededstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions