Module federation error with V4 #7021
muhammetbilgin
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Used module federation on both app with react18, tailwindcss3 and shadcn. When i try create a new app with react19, tailwindcssv4 and shadcn gettin error below.
Cannot read properties of undefined (reading 'validated')
When remove all shadcn component on remote its work. Whats wrong?
Versions
on Remote:
"@originjs/vite-plugin-federation": "^1.4.0",
"@types/node": "^22.13.13",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react-swc": "^3.8.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tailwind-merge": "^3.0.2",
"tailwindcss": "^4.0.15",
"vite": "^6.2.0"
on Host:
"@astrojs/node": "^9.1.3",
"@astrojs/react": "^4.2.1",
"@tailwindcss/vite": "^4.0.15",
"@types/react": "^19.0.12",
"@types/react-dom": "^19.0.4",
"astro": "^5.5.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-error-boundary": "^5.0.0",
"tailwind-merge": "^3.0.2",
"tailwindcss": "^4.0.15",
Beta Was this translation helpful? Give feedback.
All reactions