Error accessing remoteEntry.js files throughout vite examples
ie "vue3-demo-esm-shared-store"
pnpm serve
Uncaught TypeError: Failed to fetch dynamically imported module: http://localhost:5101/assets/remoteEntry.js
Versions
-
vite-plugin-federation: @originjs/vite-plugin-federation 1.3.5
-
vite: devDependencies: vite 4.0.5
Reproduction
Download repo navigate to vue3-demo-esm-shared-store ppm install @originjs/vite-plugin-federation will need installing in every microFE too. ppm serve use browser to open up host MFE blank page open inspector to see errors.
Steps to reproduce
What is Expected?
remoteEntry.js should be accessible
What is actually happening?
Its not and same issue on all vite based examples.
thanks, D.
@v3nt I am experiencing the same issue. Did you figure it out?
any updates?
have you built it?
looks like you forgot pnpm build command
have this problem been resolved ?