Cannot install react-paypal-button with react 18

I'm following an e-commerce tutorial, cannot install all the packages react-paypal button in npm with react 18

npm i react-paypal-smart-button
npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!

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\a\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\a\AppData\Local\npm-cache\_logs\2023-02-09T15_12_52_013Z-debug-0.log


Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations