-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 example: dev build works, "yarn serve" does not #680
Comments
Hi @arielweinberger - I ran into the same issue, and was able to fix it by removing the Would love to hear how you progress from there. Also, the latest version of nextjs-mf (0.1.0) appears not to work - I get an error like |
@rmunch Maybe good for us to get in touch to share knowledge anyway. I am struggling to understand the readiness of MF as I want to incorporate it into our business in a new greenfield project. |
@rmunch Removing the |
This is happening to me as well. If I run |
if you add this to your script data-webpack="REMOTENAME" webpack will work with async remotes |
Fixed in new plugin |
Hey,
I am struggling to get the production build of a federated NextJS application to work. It works fine in development mode, but it does not work well when trying to serve a production build via
next start
.If you take the NextJS example in this repo, simply installing both next1 and next2 applications and running
yarn build && yarn serve
at the root of the repo does not work.The console looks fine:
But then when navigating to the application that consumes a remote package (3001), I get the following in the console:
Is it just me or are others facing the same issue?
The text was updated successfully, but these errors were encountered: