react-qr-barcode-scanner icon indicating copy to clipboard operation
react-qr-barcode-scanner copied to clipboard

Official support for React 18

Open Svehla opened this issue 2 years ago • 4 comments

Hi all!

I really appreciate this library. please, could you look for support of React 18?

https://github.com/jamenamcinteer/react-qr-barcode-scanner/blob/main/package.json#L34

npm install bash error:

 ✗ npm i react-qr-barcode-scanner
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"^18.2.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1" from [email protected]
npm ERR! node_modules/react-qr-barcode-scanner
npm ERR!   react-qr-barcode-scanner@"*" 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! 

Svehla avatar Oct 14 '22 04:10 Svehla

Up! I need this too for React 18

jpanor avatar Dec 12 '22 19:12 jpanor

Same here....

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1" from [email protected]
npm ERR! node_modules/react-qr-barcode-scanner
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.

Jan-T-Berg avatar Jan 18 '23 09:01 Jan-T-Berg

This package is awesome, but cant really use it now because of lack of support for react > v16. Please update!

tsukii21 avatar Mar 06 '23 11:03 tsukii21

install it with --legacy-peer-deps

albgen avatar Nov 07 '23 15:11 albgen