-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when runing app (Cannot use 'in' operator to search for 'requests' in null) #3523
Comments
this is my cra module federation config config.plugins.push(
new ModuleFederationPlugin({
name: "webpack_provider",
filename: "remoteEntry.js",
remotes: {
vite_provider: "vite_provider@http://localhost:4173/mf-manifest.json"
}
// shared: {
// react: {
// singleton: true
// },
// "react-dom": {
// singleton: true
// }
// }
})
) |
id suggest using rsbuild instead of vite, the issue is likely with the vite plugin implementation, file the issue on module-federation/vite |
tagging in @gioboa for visibility. |
I see, sorry for that. |
I created the issue on vite plugin . module-federation/vite#258 |
Describe the bug
When i try load a remote module from a vite app in a react app ( using create-react app and config ovverride) it show
Cannot use 'in' operator to search for 'requests' in null
.I try to find its reletive code,i found
and log externalModule , it was null
Reproduction
''
Used Package Manager
npm
System Info
The text was updated successfully, but these errors were encountered: