ScriptExternalLoadError Loading script failed
GuyLearningReact
Posted on February 15, 2022
Hello Experts,
Please help!
This is regarding webpack Module Federation question.
Created 2 react apps (remote and host) using npx create-mf-app
Rendered Simple Hello in react app1.
Adjusted webpack config files in both react apps.
Works great in one machine. Did the same in other machine and it throws errors:
Uncaught ScriptExternalLoadError: Loading script failed.
(missing: http://localhost:8081/remoteEntry.js)
while loading "./Counter" from webpack/container/reference/remote..
Any help greatly appreciated!
💖 💪 🙅 🚩
GuyLearningReact
Posted on February 15, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.