Skip to content

Failed to load script resources. #RUNTIME-008 #20

@Ludea

Description

@Ludea

When running dev command into example dir,
I get

[1] start   building src\bootstrap.js
[1] ready   built in 0.09 s
[1] error   [browser] Uncaught (in promise) Error: [ Federation Runtime ]: Failed to load script resources. #RUNTIME-008
[1] args: {"remoteName":"example_guest","resourceUrl":"module-federation://localhost:3002/?fullUrl=http://localhost:3002/remoteEntry.js"}
[1] View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/runtime#runtime-008
[1] Original Error Message:
[1]  ScriptNetworkError: Failed to load script "module-federation://localhost:3002/?fullUrl=http://localhost:3002/remoteEntry.js" - the script URL is unreachable or the server returned an error (network failure, 404, CORS, etc.)
[1] while loading "./Button" from webpack/container/reference/example_guest (..\..\node_modules\.pnpm\@module-federation+runtime-_e6fcf5ed3e6ce49fcbad7ded154af133\node_modules\@module-federation\runtime-core\src\utils\logger.ts:55:0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions