-
Notifications
You must be signed in to change notification settings - Fork 289
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
In frontend i can not install module using "npm install". it show error: #20
Comments
Use "yarn" instead using the npm install |
I try "npm install --legacy-peer-deps" |
Dose you're pages are working correctly? mine pages are not loading only the home page is working |
Yes home page working and other page are loading.... |
Not yet |
You've set up https:// instead of http. Go to frontend/src/server.js and put
If you've used https in one file, make sure to use http in other files too. |
i know why u are getting error this is because of conflicting dependencied try using |
npm install --legacy-peer-deps |
Anyone was able to close the above errors? |
PS D:\clothing\Eshop-tutorial-master\Eshop-tutorial-master\frontend> npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @material-ui/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^18.2.0" from the root project
npm ERR! peer react@">=16.3.0" from @paypal/[email protected]
npm ERR! node_modules/@paypal/react-paypal-js
npm ERR! @paypal/react-paypal-js@"^7.8.3" from the root project
npm ERR! 12 more (@reduxjs/toolkit, @stripe/react-stripe-js, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from @material-ui/[email protected]
npm ERR! node_modules/@material-ui/core
npm ERR! @material-ui/core@"^4.12.4" from the root project
npm ERR! peer @material-ui/core@"^4.12.0 || ^5.0.0-beta.0" from @material-ui/[email protected]
npm ERR! node_modules/@material-ui/data-grid
npm ERR! @material-ui/data-grid@"^4.0.0-alpha.37" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR! peer react@"^16.8.0 || ^17.0.0" from @material-ui/[email protected]
npm ERR! node_modules/@material-ui/core
npm ERR! @material-ui/core@"^4.12.4" from the root project
npm ERR! peer @material-ui/core@"^4.12.0 || ^5.0.0-beta.0" from @material-ui/[email protected]
npm ERR! node_modules/@material-ui/data-grid
npm ERR! @material-ui/data-grid@"^4.0.0-alpha.37" 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:
npm ERR! C:\Users\ashis\AppData\Local\npm-cache_logs\2023-10-27T08_39_48_088Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: C:\Users\ashis\AppData\Local\npm-cache_logs\2023-10-27T08_39_48_088Z-debug-0.log
The text was updated successfully, but these errors were encountered: