JodusNodus / react-qr-reader

React component for reading QR codes from webcam.

Home Page:https://jodusnodus.github.io/react-qr-reader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Beta version causing infinite loop, e is undefined

iamunadike opened this issue · comments

Somehow i noticed when the component is mounted it starts to throw the exception
Something of what I mean is as shown below:

**```
613

e is undefined
at t.selectBestPatterns (http://localhost:3000/bundle.js:40796:222393)
at t.find (http://localhost:3000/bundle.js:40796:218235)
at t.detect (http://localhost:3000/bundle.js:40796:223801)
at t.decode (http://localhost:3000/bundle.js:40796:227258)
at t.decodeBitmap (http://localhost:3000/bundle.js:40796:355548)
at t.decodeFromCanvas (http://localhost:3000/bundle.js:40796:355663)
at h (http://localhost:3000/bundle.js:40796:362079)


It just keep looping 613 was the last count of the loop before I stopped it maniually

Am also getting the same in console, when webcam start scanning

having same issue

@codescrafter use the last version, but try to use yarn while using the package, apparently the console always will show a error while it cant get a result