Hello,
i'm just trying this module and i'm having troubles when my component is rendered:
onUpdate function triggers endlessly with the err input params that send this message (result param is undefined):
**NotFoundException: No MultiFormat Readers were able to detect the code.**
at MultiFormatReader.__webpack_modules__../node_modules/@zxing/library/esm5/core/MultiFormatReader.js.MultiFormatReader.decodeInternal (https://localhost:9970/main.bundle.js:25687:15)
at MultiFormatReader.__webpack_modules__../node_modules/@zxing/library/esm5/core/MultiFormatReader.js.MultiFormatReader.decodeWithState (https://localhost:9970/main.bundle.js:25569:21)
at BrowserMultiFormatReader.__webpack_modules__../node_modules/@zxing/library/esm5/browser/BrowserMultiFormatReader.js.BrowserMultiFormatReader.decodeBitmap (https://localhost:9970/main.bundle.js:23953:28)
at BrowserMultiFormatReader.__webpack_modules__../node_modules/@zxing/library/esm5/browser/BrowserCodeReader.js.BrowserCodeReader.decode (https://localhost:9970/main.bundle.js:23687:21)
at loop (https://localhost:9970/main.bundle.js:23637:36)
at https://localhost:9970/main.bundle.js:23651:64
at new Promise (<anonymous>)
at BrowserMultiFormatReader.__webpack_modules__../node_modules/@zxing/library/esm5/browser/BrowserCodeReader.js.BrowserCodeReader.decodeOnce (https://localhost:9970/main.bundle.js:23651:16)
at HTMLImageElement._this.imageLoadedListener (https://localhost:9970/main.bundle.js:23528:68)
What could be the probem?
I am forgetting to do something?
Fixed by excluding the console.log() of the err input parameter of the onUpdate function.
I later understood that the function instantiates itself recursively, sorry!
Hello, i'm just trying this module and i'm having troubles when my component is rendered: onUpdate function triggers endlessly with the
err
input params that send this message (result
param is undefined):What could be the probem? I am forgetting to do something?
Thank you!