vue-barcode-reader doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point).
Please contact the package author to fix. (x2)
(node:49424) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.