Have you tried hinting the format(s) you wish to scan?
const hints = new Map(); hints.set(ZXing.DecodeHintType.POSSIBLE_FORMATS, [ ZXing.BarcodeFormat.EAN_13 ]); const codeReader = new ZXing.BrowserMultiFormatReader(hints);