paytm / paytm-blink-checkout-react

7 stars 12 forks source link

Compatibility with React 17 #29

Closed sushansapaliga closed 3 years ago

sushansapaliga commented 3 years ago

Is the npm package compatible with the react ^17.0.2 ?

I tried the installing the npm i got these error:

npm ERR! While resolving: example@0.1.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.3.0" from paytm-blink-checkout-react@0.0.3
npm ERR! node_modules/paytm-blink-checkout-react
npm ERR!   paytm-blink-checkout-react@"*" from the root project

So tried using --legacy-peer-deps. Is the package compatible with React 17?

sushansapaliga commented 3 years ago

The package is compatible with the react 17. Try using the --legacy-peer-deps if you are facing any issue while any installation.