-
-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nextjs-mf and NextJS 14.2.14+ issue #3079
Comments
The issue thrown is related to headlessui, and I know this is supposed to be a client-only package, but my code worked before and only stopped working on new versions of NextJS. It would be nice to have the code updated to work, but I understand you probably can't support all frameworks out there having at least a workaround would help me a ton. |
nextjs-mf will not work with app router. |
The problem is your build configuration. Clearly, vercel has shipped breaking changes yet again. do this
|
@ScriptedAlchemy I'm having the same issue - adding Here's my webpack config, am I missing something here?
Happy to put together a repro repo if needed too. This is for |
Provide repo |
Sorry, I've been out for a bit and haven't had a chance to get a repo setup. Some later version of the nextjs-mf plugin seems to have resolved this, I can upgrade to latest next 14 and all's well. |
Warning Support for next is ending |
@rdenman do you mind sharing the version of next-mf and next that are working for you? |
@ciandt-crodrigues with this package being EOL'd, I've since ripped it out of my app in favor of Next Zones (for now). It was whatever latest was, probably in the 8.6-8.7ish range |
Vercel is now actively exploring MF v2 as a first class supported tech. Fingers crossed |
Describe the bug
After the recent NextJS update, the nextjs-mf package starts falling with.
This issue is fixed by either not applying the
NextFederationPlugin
(which defeats the purpose) or fixing the Nextjs version to12.2.13
or less.Something they did broke the plugin, maybe you could share some workaround?
attached is a somewhat small reproducible environment.
Reproduction
https://codesandbox.io/p/devbox/errordynamicimport-l6mzwq
Used Package Manager
npm
System Info
Validations
The text was updated successfully, but these errors were encountered: