Errors
NF-017: withNextFederation is missing from next.config
next-federation code ran in an app whose next.config does not use withNextFederation. The wrapper sets the values the runtime reads, such as the cache...
Why This Error Occurred
next-federation code ran in an app whose next.config does not use withNextFederation. The wrapper sets the values the runtime reads, such as the cache model and basePath.
Possible Ways to Fix It
-
Wrap your config and restart the build:
// next.config.ts import { withNextFederation } from '@next-federation/next/config' export default withNextFederation(nextConfig)
Useful Links
NF-016: Token issuer is not in the remote's issuer map
A token named an issuer the remote does not trust. The remote only accepts issuers listed in its issuers map.
NF-018: Island rendered a script or hoistable element
Island markup contained a <script> or a hoistable element (<title>, <meta>, <link>), and it was removed. Islands are inserted into a host page, so head...