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 on navigate to shipments and tracker #4

Open
jonasesser opened this issue Jan 6, 2025 · 1 comment
Open

Error on navigate to shipments and tracker #4

jonasesser opened this issue Jan 6, 2025 · 1 comment

Comments

@jonasesser
Copy link

See console output:

chunk-mgcl-NBV3S55D.js:3 @import rules are not allowed here. See WICG/construct-stylesheets#119 (comment).
(anonymous) @ chunk-mgcl-NBV3S55D.js:3
await in (anonymous)
(anonymous) @ chunk-mgcl-NBV3S55D.js:3
(anonymous) @ chunk-mgcl-VJYM7YFJ.js:1
(anonymous) @ chunk-mgcl-VJYM7YFJ.js:1
vl @ chunk-mgcl-DT437CWL.js:8
qn @ chunk-mgcl-DT437CWL.js:8
ms @ chunk-mgcl-DT437CWL.js:8
vn @ chunk-mgcl-DT437CWL.js:6
Te @ chunk-mgcl-DT437CWL.js:8
ad @ chunk-mgcl-DT437CWL.js:6
next @ chunk-mgcl-33WXRWVS.js:1
e.next @ chunk-mgcl-6QKYM4HT.js:3
r._next @ chunk-mgcl-6QKYM4HT.js:3
r.next @ chunk-mgcl-6QKYM4HT.js:3
(anonymous) @ chunk-mgcl-6QKYM4HT.js:3
l._next @ chunk-mgcl-6QKYM4HT.js:3
r.next @ chunk-mgcl-6QKYM4HT.js:3
(anonymous) @ chunk-mgcl-4XXL4GHQ.js:2
(anonymous) @ chunk-mgcl-4XXL4GHQ.js:2
Promise.then
tt @ chunk-mgcl-4XXL4GHQ.js:2
(anonymous) @ chunk-mgcl-4XXL4GHQ.js:2
e._trySubscribe @ chunk-mgcl-6QKYM4HT.js:3
(anonymous) @ chunk-mgcl-6QKYM4HT.js:3
Z @ chunk-mgcl-6QKYM4HT.js:3
e.subscribe @ chunk-mgcl-6QKYM4HT.js:3
(anonymous) @ chunk-mgcl-6QKYM4HT.js:3
(anonymous) @ chunk-mgcl-6QKYM4HT.js:3
(anonymous) @ chunk-mgcl-6QKYM4HT.js:3
Z @ chunk-mgcl-6QKYM4HT.js:3
e.subscribe @ chunk-mgcl-6QKYM4HT.js:3
(anonymous) @ chunk-mgcl-33WXRWVS.js:1
vl @ chunk-mgcl-DT437CWL.js:8
qn @ chunk-mgcl-DT437CWL.js:8
zn @ chunk-mgcl-DT437CWL.js:8
Id @ chunk-mgcl-DT437CWL.js:8
kl @ chunk-mgcl-DT437CWL.js:8
ve.render @ chunk-mgcl-DT437CWL.js:8
v5 @ chunk-mgcl-NBV3S55D.js:3
P5 @ chunk-mgcl-NBV3S55D.js:3
await in P5
(anonymous) @ chunk-mgcl-NBV3S55D.js:3Understand this warningAI
pigeonTracker.js:34

   GET http://localhost:5005/assets/assets/__federation_expose_App-8d165978.js net::ERR_ABORTED 404 (Not Found)

(anonymous) @ pigeonTracker.js:34
preload @ preload-helper-06b33f0f.js:4
__federation_import @ pigeonTracker.js:34
./App @ pigeonTracker.js:8
get @ pigeonTracker.js:38
(anonymous) @ __x00__virtual:federation:82
Promise.then
__federation_method_getRemote @ __x00__virtual:federation:82
component @ index.ts:17
extractComponentsGuards @ vue-router.js?v=8dff211c:1619
(anonymous) @ vue-router.js?v=8dff211c:2638
Promise.then
navigate @ vue-router.js?v=8dff211c:2636
pushWithRedirect @ vue-router.js?v=8dff211c:2539
push @ vue-router.js?v=8dff211c:2475
navigate @ vue-router.js?v=8dff211c:1704
callWithErrorHandling @ chunk-EKBVEXA5.js?v=fe9aaa46:2282
callWithAsyncErrorHandling @ chunk-EKBVEXA5.js?v=fe9aaa46:2289
invoker @ chunk-EKBVEXA5.js?v=fe9aaa46:11273Understand this errorAI
vue-router.js?v=8dff211c:203 [Vue Router warn]: uncaught error during route navigation:
warn @ vue-router.js?v=8dff211c:203
triggerError @ vue-router.js?v=8dff211c:2765
(anonymous) @ vue-router.js?v=8dff211c:2548
Promise.catch
pushWithRedirect @ vue-router.js?v=8dff211c:2539
push @ vue-router.js?v=8dff211c:2475
navigate @ vue-router.js?v=8dff211c:1704
callWithErrorHandling @ chunk-EKBVEXA5.js?v=fe9aaa46:2282
callWithAsyncErrorHandling @ chunk-EKBVEXA5.js?v=fe9aaa46:2289
invoker @ chunk-EKBVEXA5.js?v=fe9aaa46:11273Understand this warningAI
vue-router.js?v=8dff211c:2767 TypeError: Failed to fetch dynamically imported module: http://localhost:5005/assets/assets/__federation_expose_App-8d165978.js

@ttyS0e
Copy link

ttyS0e commented Jan 7, 2025

@jonasesser There is a new bug in the vite plugin federation library, introduced in 1.3.7

It's broken loads of stuff, everywhere.

To fix, change this line in package.json https://github.com/vitorlofonseca/microfrontend-vue-and-vite/blob/main/package.json#L16

to: "@originjs/vite-plugin-federation": "1.2.1", which will pin the version to the last working one.

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