Skip to content

Build failed for module-federation-examples/medusa-example with latest @module-federation/dashboard-plugin #3049

@btrungchi

Description

@btrungchi

Hello.

I tried module-federation-examples/medusa-example and got this error when running "yarn build". It happens with @module-federation/dashboard-plugin 2.8.0-beta.6 and 2.7.2. When I downgraded to 2.6.5 the issue went away. Is this a bug with the latest versions?

Error: ENOENT: no such file or directory, open 'C:\Users\chbui\module-federation-examples\medusa-example\dsl\node_modules@babel\package.json'
at Object.openSync (fs.js:498:3)
at Object.readFileSync (fs.js:394:35)
at C:\Users\chbui\module-federation-examples\medusa-example\dsl\node_modules@module-federation\dashboard-plugin\convertToGraph.js:118:43
at Array.forEach ()
at FederationDashboardPlugin.processWebpackGraph (C:\Users\chbui\module-federation-examples\medusa-example\dsl\node_modules@module-federation\dashboard-plugin\FederationDashboardPlugin.js:189:19)
at C:\Users\chbui\module-federation-examples\medusa-example\dsl\node_modules@module-federation\dashboard-plugin\FederationDashboardPlugin.js:135:23

image

update: I am using nodejs 19.8.1

Metadata

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