serratus / quaggaJS

An advanced barcode-scanner written in JavaScript
https://serratus.github.io/quaggaJS/
MIT License
5.08k stars 979 forks source link

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

Open Danilo-P-git opened 3 years ago

Danilo-P-git commented 3 years ago

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.