Skip to content

Errror in starting the project -> Unable to compile federated types #4274

Open
@AsuraKev

Description

Hi there, I am doing a simple POC on a consumer MFE but i am having trouble starting the project up. The error message is

Unable to compile federated types, Error: compile TS failed, the original command is 'npx tsc --project D:\Personal Projects\MicroFrontend\myMask Provider MFE\node_modules.federation\tsconfig.0790d0a2174de73475aea7c6f31396c9.json'
Error: ENOENT: no such file or directory, open 'D:\Personal Projects\MicroFrontend\myMask Provider MFE\dist@mf-types.zip'

my rsbuild.config.ts looks like

![image](https://github.com/user-attachments/assets/8d007382-9ad5-432a-a1c7-2eabed79c0ac

I am following the offical Module fed site and examples and not sure what went wrong... thanks :)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions