serratus/quaggaJS

Uncaught TypeError: Quagga.decoder is not a function at Object.decode (app.js:1853) at HTMLInputElement.onChange (app.js:1881)

Danilo-P-git opened this issue · 0 comments

I was trying to implement quagga at laravel 7.0 .. but when i go to copy and paste this example https://serratus.github.io/quaggaJS/v1.0.0-beta.1/examples/scan-to-input/
In my javaScript it gives me this error
Uncaught TypeError: Quagga.decoder is not a function at Object.decode (app.js:1853) at HTMLInputElement.onChange (app.js:1881)
the code on the js is exactly the one on the example
I don't know what to do.