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

"Conflict between React version and '@mui/material' package" #457

Open
Mitali2700 opened this issue Mar 25, 2023 · 2 comments
Open

"Conflict between React version and '@mui/material' package" #457

Mitali2700 opened this issue Mar 25, 2023 · 2 comments

Comments

@Mitali2700
Copy link

Describe the bug
When trying to install the "@mui/material" package in a Node.js project, there is an error related to package dependencies. I have attempted to upgrade the React version in my package.json file, but I am still receiving the same error message.

To Reproduce
Steps to reproduce the behavior:
Open the Node.js project.
Run the command "npm install @mui/material".
See error message in the console.

Expected behavior
I expected the installation of "@mui/material" package to complete without any error message after upgrading the React version in my package.json file.

Screenshots
Webiu_issue

Desktop (please complete the following information):
OS: Windows
Browser: N/A
Version: N/A

Smartphone (please complete the following information):
Device: N/A
OS: N/A
Browser: N/A
Version: N/A

@Sapnajha19
Copy link

What node version are you using, This project needs node version 14. But gatsby cli needs to be installed in node version 18. So you have to switch versions accordingly, you can use "nvm" for switching. Also, you can refer this doc it will surely help you.

@Mitali2700
Copy link
Author

Thank you for your message and for providing information regarding the required Node version and the use of "nvm". I appreciate your help and guidance on this matter.

I will check my current Node version and switch to version 14 if needed. I will also refer to the documentation you suggested if I encounter any issues or have further questions.

Thank you again for your support, and I look forward to working on this project.

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