uses React@16 as a dependency. Please update to React 17
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@"^17.0.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"~16" from [email protected] npm ERR! node_modules/react-qr-reader npm ERR! react-qr-reader@"*" 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 /Users/zhangyiwan/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/zhangyiwan/.npm/_logs/2021-07-08T22_11_34_076Z-debug.log
Some support on this issue please!!
we need this update!!
There is currently a PR open (for months now though) to update to react 17. Not sure if the it will be merged, but can be installed using:
npm install JodusNodus/react-qr-reader#pull/192/head
PR Can be found here: https://github.com/JodusNodus/react-qr-reader/pull/192
Really hoping author can take a look a make the merge.
npm install JodusNodus/react-qr-reader#pull/192/head
this worked for me, thanks a lot!
worked for me thanks
some mail author please [email protected]