library
library copied to clipboard
Issue with node_modules
Hello,
I am using https://www.npmjs.com/package/react-qr-barcode-scanner library to scan barcode but when I launch it with npm run start I have issue with @zxing.
Here is the issue : Failed to parse source map from 'C:\Users\xxxxxx\my-app\node_modules\react-qr-barcode-scanner\node_modules@zxing\library\src\index.ts' file: Error: ENOENT: no such file or directory, open 'C:\Users\xxxxx\my-app\node_modules\react-qr-barcode-scanner\node_modules@zxing\library\src\index.ts'
I'm having same issue with https://github.com/olefirenko/vue-barcode-reader
Same issue with https://github.com/dashboardphilippines/react-webcam-barcode-scanner It works, but annoying messages.
I'm using react-scripts v5 and got rid of the annoying messages by adding GENERATE_SOURCEMAP=false
to the .env file
Same here, I'm also using https://github.com/olefirenko/vue-barcode-reader in a Vite + Vue 3 app, and getting ton of these warnings:
Sourcemap for "path/to/node_modules/@zxing/library/esm/index.js" points to missing source files
.
The app works, but it's really annoying to get absolutely flooded with these warnings. A fix would be greatly appreciated.
Stale issue message