zxing-js / library

Multi-format 1D/2D barcode image processing library, usable in JavaScript ecosystem.
https://zxing-js.github.io/library/
Apache License 2.0
2.39k stars 536 forks source link

Issue with node_modules #512

Open leopalazzi opened 2 years ago

leopalazzi commented 2 years ago

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'

Javid-Izadfar commented 2 years ago

I'm having same issue with https://github.com/olefirenko/vue-barcode-reader

dicktornfeldt commented 2 years ago

Same issue with https://github.com/dashboardphilippines/react-webcam-barcode-scanner It works, but annoying messages.

llewellyndsouza commented 2 years ago

I'm using react-scripts v5 and got rid of the annoying messages by adding GENERATE_SOURCEMAP=false to the .env file

olahp commented 2 years ago

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.

github-actions[bot] commented 2 months ago

Stale issue message