Blog-App-using-MERN-stack
Blog-App-using-MERN-stack copied to clipboard
Dependency conflicts for installing frontend
Can't install frontend due to dependency conflicts between React v18 and @mui/styles.
Change the version of ‘react and react-dom’ to 18.0.0 and install packages again.
Otherwise:
Alternative Solution:
- delete both node_modules and package-lock.json
- run npm i web-vitals --save-dev
- run npm install and then you can use npm run build and npm start again.