-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[pickers] package is incompatible with @mui/material for versions equal to or lower than 5.8.x #8530
Comments
Thank you very much for opening this issue and reporting stale |
@LukasTy Another point to watch out for is the @mui/base dependency, as it is not among the peer dependencies and if an older version of npm such as 8.1 is used for package installation, it causes problems as the dependencies of downloaded packages are not installed in the root of the project's node_modules. |
@Nic-S Thank you for the heads-up. We'll look into it. 👌 |
I've tried experimenting with your provided problematic scenario. |
Very strange 🤔. I use node version 16.13.0 with its version of npm i.e. 8.1.0, and as you can see from the screen i don't have @mui/base in the root of mui's node_modules and this causes me errors in the build. |
I have only downgraded |
Honestly I am surprised, I also did a test from scratch and I have packages like yours that are different from my project. I investigate better but at this point it is a problem with my project, I have of course already tried to re-install from scratch including the clean npm cash. |
@LukasTy OK, with node 16.13.0 and npm 8.1.0 and react 17, we have the package problem. (why we don't have the problem with react 18 I still don't understand) if we upgrade to node 16.14.0 and use its npm 8.3.1 also with react 17 we no longer have the problem. |
@Nic-S I can confirm that your use case is reproducible. |
Yes because peer dependencies are downloaded differently than dependencies. Thank you for your availability! |
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/exciting-snyder-56xih1
Current behavior 😯
build error
Expected behavior 🤔
fix ir or upgrade peer dependency of pikers and documentation
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
Order ID or Support key 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: