Open dhawebadmin opened 1 month ago
Hi @dhawebadmin
If you create a minimal reproduction I can take a look
It's probably a build tool issue maybe related to esm
Ciaran
Thanks for your reply. I have added you to the codesandbox. However i have resolved it with a temp workaround by adding following
webpack.config.js module -> rules -> oneOf add this:
{ test: /.m?js/, // fix:issue: https://github.com/webpack/webpack/issues/11467 resolve: { fullySpecified: false, }, },
as mentioned in https://github.com/webpack/webpack/issues/16660
I have used formik-mui in a project. i m facing the following errors.
Compiled with problems:
following is my package.json "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0", "@mui/icons-material": "^6.1.4", "@mui/lab": "^6.0.0-beta.12", "@mui/material": "^6.1.4", "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "date-fns": "^4.1.0", "formik": "^2.4.6", "formik-material-ui": "^4.0.0-alpha.2", "formik-mui": "^5.0.0-alpha.1", "react": "^18.3.1", "react-dom": "^18.3.1", "react-scripts": "5.0.1", "web-vitals": "^2.1.4", "yup": "^1.4.0"
the same project with same packagae.json is working fine in codesandbox, but as i run it from vs code it give error. Any help will be highly appreciated.