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

Dependency conflicts for installing frontend #35

Open
jarvis1897 opened this issue Aug 25, 2024 · 1 comment
Open

Dependency conflicts for installing frontend #35

jarvis1897 opened this issue Aug 25, 2024 · 1 comment

Comments

@jarvis1897
Copy link

Can't install frontend due to dependency conflicts between React v18 and @mui/styles.

@jarvis1897 jarvis1897 changed the title DEpendency conflicts for frontend Dependency conflicts for frontend Aug 25, 2024
@jarvis1897 jarvis1897 changed the title Dependency conflicts for frontend Dependency conflicts for installing frontend Aug 25, 2024
@RizwanJamadar
Copy link

Change the version of ‘react and react-dom’ to 18.0.0 and install packages again.

Otherwise:

Alternative Solution:

  1. delete both node_modules and package-lock.json
  2. run npm i web-vitals --save-dev
  3. run npm install
    and then you can use npm run build and npm start again.

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