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! react@"^18.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^17.0.0" from @mui/[email protected] npm ERR! nodemodules/@mui/styles npm ERR! @mui/styles@"^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

User profile image
Shiv Technolabs

If you are unable to install a newly downloaded frontend app, follow these steps:

Ensure that you have all the necessary dependencies and tools installed. Check the documentation or README file for installation instructions specific to the frontend app. Verify that your environment meets the requirements mentioned in the documentation. Run any specified installation commands, such as npm install or yarn install, in the project directory. If there are any error messages, troubleshoot them by searching for solutions online or seeking help from the community or developer support. Double-check that you have followed all the installation steps correctly. If the issue persists, consider reaching out to the app's developer or community for further assistance.

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.