Can not install newly downloaded frontend app

Gravatar

I just purchased the react/material ui template.

Backend installed fine, but the frontend does not. I immediately get this error from npm install:

npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! nodemodules/react npm ERR! [email protected]"^18.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer [email protected]"^17.0.0" from @mui/[email protected] npm ERR! nodemodules/@mui/styles npm ERR! @mui/[email protected]"^5.6.2" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see:

There seems to be a mismatch from react and MUI. Let me know how to proceed. Thanks.

-John

User profile image

Please use yarn to install packages. And clarify your version of node js

Cookie Consent

By continuing to browse or by clicking 'OK', you agree to the storing of cookies on your device to enhance your site experience and for analytical purposes. To learn more about how we use cookies, please see our cookies policy.