react-qr-reader icon indicating copy to clipboard operation
react-qr-reader copied to clipboard

Help me error selectBestPatterns nobody fix it before (react-qr-reader 3.0.0-beta-1)

Open hoaipd opened this issue 1 year ago • 4 comments

When I scan QR code, It always return errors Error: More info : at t.selectBestPatterns (webpack-internal:///./node_modules/react-qr-reader/dist/esm/index.js:8:222393) at t.find (webpack-internal:///./node_modules/react-qr-reader/dist/esm/index.js:8:218235) at t.detect (webpack-internal:///./node_modules/react-qr-reader/dist/esm/index.js:8:223801) at t.decode (webpack-internal:///./node_modules/react-qr-reader/dist/esm/index.js:8:227258) at e.t.decodeBitmap (webpack-internal:///./node_modules/react-qr-reader/dist/esm/index.js:8:355548)

hoaipd avatar Dec 06 '23 04:12 hoaipd

I have the same issue

econtigliani avatar Dec 08 '23 15:12 econtigliani

I have the same issue

nobody helps :(

hoaipd avatar Dec 11 '23 01:12 hoaipd

It always return errors, but is working too.

Try to avoid npm with this package, try to use yarn too.

avoguga avatar Jan 31 '24 04:01 avoguga

Until the issue got fixed use react-qr-reader@2

or if you have react > 17 Use this instead https://www.npmjs.com/package/react-zxing

Both the libraries are using @zxing/library under the hood.

mh-jsx avatar Aug 16 '24 06:08 mh-jsx