ecommerce-react
ecommerce-react copied to clipboard
When attempting to install react-paypal-express-checkout version 1.0.5 via npm install, an error occurs due to peer dependency issues.
Specifically, the error message indicates : npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/react npm ERR! peer react@"~0.14.8 || ^15.5.0" from [email protected] npm ERR! node_modules/react-paypal-express-checkout npm ERR! react-paypal-express-checkout@"^1.0.5" from the root project
Possible Solution: Instead of directly using npm install, it is recommended to use npm install react-paypal-express-checkout --legacy-peer-deps. This bypasses the peer dependency check and allows the package to be installed successfully.