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...
Why This Error Occurred
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 elements and inline code are not carried over.
Possible Ways to Fix It
- Move head metadata to the host page.
- Load code through the island bootstrap instead of inline scripts.
Useful Links
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...
NF-019: This remote build does not support island Server Actions
An island called a Server Action, and the remote build that rendered it rejected the call. That build predates island Server Actions and has no action...