Skip to content

nextjs-mf 7 to 8 migration  #2196

@denis-guesty

Description

@denis-guesty

Describe the bug

I have migrated an app from nextjs-mf 7 to 8 and it seems that all the MF apps stopped working, I wasn't sure what has changed, I did install a local webpack version for MF to use.

I don't see any API changes between 7 and 8, besides the need for local webpack.

App is running using NEXT_PRIVATE_LOCAL_WEBPACK=true next dev

This is the error form the remote apps I am trying to load.

offline Error: Shared module is not available for eager consumption: 15691

If I enable debug, I don't see anything special either.

All the help is much appriciated, thanks!

Reproduction

Migrate nextjs-mf 7 -> 8

Used Package Manager

npm

System Info

"next": "^13.4.12"
"@module-federation/nextjs-mf": "^8.2.3"
"webpack": "^5.90.3"

Validations

Metadata

Metadata

Labels

nextjs-mfnextjs-mf package identifier

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions