originjs / vite-plugin-federation

Module Federation for vite & rollup
Other
2.26k stars 233 forks source link

【bug】vue3-demo-esm-shared-store running __federation_shared_myStore-ed6e87a0.js 404 #579

Open lmm1990 opened 6 months ago

lmm1990 commented 6 months ago

Versions

Reproduction

https://github.com/originjs/vite-plugin-federation/tree/cfaa562f0dde19c65651490876fb938e84b5603e/packages/examples/vue3-demo-esm-shared-store

Additional Details

Steps to reproduce

pnpm i
pnpm build
pnpm serve:remotes
pnpm dev:hosts

What is Expected?

normal operation

What is actually happening?

__federation_expose_Button-f9f0b374.js:1

GET http://localhost:5001/assets/__federation_shared_myStore-ed6e87a0.js net::ERR_ABORTED 404 (Not Found) Uncaught TypeError: Failed to fetch dynamically imported module: http://localhost:5001/assets/__federation_expose_Button-f9f0b374.js

likang329 commented 2 months ago

请问这个问题,您这边解决了吗

Issues-translate-bot commented 2 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I would like to ask, have you solved this problem?

lmm1990 commented 1 month ago

请问这个问题,您这边解决了吗

需要等作者修复

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Excuse me, have you solved this problem?

Need to wait for the author to fix it