NF-029: Remote component failed to load
A remote component could not be loaded: its build descriptor could not be fetched or is invalid, or its module failed to load on the server or in the...
Why This Error Occurred
A remote component could not be loaded: its build descriptor could not be fetched or is invalid, or its module failed to load on the server or in the browser. The fallback renders and the page still answers 200. nf-types also reports this code when it cannot download a remote's declarations.
Possible Ways to Fix It
- Check that the remote answers
GET /_nf/components.jsonand serves/b/<buildId>/. - Allow the remote's origin in the host's CSP
script-srcandconnect-src. - Read the logged cause. The host retries on its own once the remote is back.
- For
nf-types, fix the remote's declaration files if they are too large, then run it again.
Useful Links
NF-028: Remote component rendered in the browser only
The host did not render a remote component on the server. The server HTML has its fallback and the browser renders the component. The message names the...
NF-030: Remote component server code required a module the host does not provide
A remote build's server code called require() for a module the host does not hand out. The host resolves only the remote's own files and...