Ze-Zheng Wu

Results 145 comments of Ze-Zheng Wu

Then this may be some other bug. To solve this problem I'll need more information. - **If this issue is OS/browser related** For example, is the [demo page of vue-qrcode-reader](https://vue-qrcode-reader.netlify.app/demos/)...

In that case, can you share a repro :)

> Ok .i send email to you Alright, here's my email address: [email protected]

@louie0086 Can you try `[email protected]` (matches with `@sec-ant/[email protected]`) and see if this error still exists? If the error still exists, can you find more error information in the console?

I added this line of code to log a detailed error information, can you some how see this in the console? https://github.com/Sec-ant/barcode-detector/blob/bca5f666062e29a8a4d075f71e4695f9e7fc77c1/src/BarcodeDetector.ts#L156-L157

The RangeError is what we've been seeking. Is that just an empty object or does it hold more information?

Hmm, interesting. If this is something about the WebAssembly instantiation, I wonder why `vue-qrcode-reader` demo page works. Does this error message have a context so that I can check which...

Thanks for the repo, but I'm afraid a scannable demo can't provide to too much information on why your original project doesn't work. What about these questions I previously asked:...

> RangeError stack here: > > https://github.com/louie0086/test_Barcode/blob/5c7a69936a4649c5b860b405b6797ba5aef3456c/public/barcode-detector/dist/es/pure.js#L345-L354 > > ```js > $.HEAP8.set(O, L) > ``` Thanks, this is very helpful. So the error is thrown from this line from the...

Can you log the `data`, `byteLength`, `bufferPtr` and `HEAP8` if you can patch the source packages in your project? ![image](https://github.com/Sec-ant/barcode-detector/assets/10386119/8f1123ef-e7af-40cf-b789-a49f64e2220b) You can also directly modify the dist file, like this:...