Uncaught TypeError: Cannot read properties of undefined (reading 'call') at get_first_child (template-BqUF48iY.js:1700:28). unable to micro-frontend app using svelte+vite-plugin-federation for host and remote app. #648
Unanswered
ashutoshmobius
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I am trying to setup micro-frontend application using svelte-5. Both the host and remote app using svelte-5.
The remote app is working fine and able to build it properly and hosted at http://localhost:5001/assets/remoteEntry.js
But while accesing the remote component in host app getting below error
Uncaught TypeError: Cannot read properties of undefined (reading 'call')
at get_first_child (template-BqUF48iY.js:1700:28)
at template-BqUF48iY.js:1884:32
at Login (Login-D6bQrACs.js:16:11)
at consequent (index-DSE2O6Bs.js:773:25)
at index-DSE2O6Bs.js:627:38
at update_reaction (template-BuFT8Pjk.js:1449:56)
at update_effect (template-BuFT8Pjk.js:1570:18)
at create_effect (template-BuFT8Pjk.js:779:4)
at branch (template-BuFT8Pjk.js:905:9)
Please help me!!!
//But if i make host and remote as react app it's working fine
please find the repo for reference.
https://github.com/ashutoshmobius/vite-micro-frontend
Beta Was this translation helpful? Give feedback.
All reactions