Skip to content
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 accessing remoteEntry.js files throughout vite examples #598

Open
v3nt opened this issue May 5, 2024 · 1 comment
Open

Error accessing remoteEntry.js files throughout vite examples #598

v3nt opened this issue May 5, 2024 · 1 comment

Comments

@v3nt
Copy link

v3nt commented May 5, 2024

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.

Screenshot 2024-05-05 at 20 37 02

thanks, D.

@alexyork
Copy link

alexyork commented May 7, 2024

@v3nt I am experiencing the same issue. Did you figure it out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants