0
0 Comments

Hello Basir

Abouth the youtube video

(React & Node ECommerce Tutorial For Beginners 2022 [MERN Stack ECommerce Website] )

I can’t install Bootstrap I try it with version 5.1.3 and with 5.2 but the terminal send me an error.

Can you help me ?

Regards

$ npm install react-bootstrap bootstrap5.1.3
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: use-reducer-logger@1.0.2
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! peer react@”^18.0.0″ from @testing-library/react@13.4.0
npm ERR! node_modules/@testing-library/react
npm ERR! @testing-library/react@”^13.4.0″ from the root project
npm ERR! peer react@”^18.2.0″ from react-dom@18.2.0
npm ERR! node_modules/react-dom
npm ERR! peer react-dom@”^18.0.0″ from @testing-library/react@13.4.0
npm ERR! node_modules/@testing-library/react
npm ERR! @testing-library/react@”^13.4.0″ from the root project
npm ERR! peer react-dom@”>=16.8″ from react-router-dom@6.4.1
npm ERR! node_modules/react-router-dom
npm ERR! react-router-dom@”^6.4.1″ from the root project
npm ERR! 4 more (the root project, react-bootstrap, @restart/ui, react-transition-group)
npm ERR! 11 more (react-router, react-router-dom, react-scripts, …)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@”^16.8″ from use-reducer-logger@1.0.2
npm ERR! node_modules/use-reducer-logger
npm ERR! use-reducer-logger@”^1.0.2″ from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@16.14.0
npm ERR! node_modules/react
npm ERR! peer react@”^16.8″ from use-reducer-logger@1.0.2
npm ERR! node_modules/use-reducer-logger
npm ERR! use-reducer-logger@”^1.0.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! See C:\Users\dipax\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dipax\AppData\Local\npm-cache\_logs\2022-09-28T01_50_20_411Z-debug-0.log

Bassir Changed status to publish October 11, 2022