library icon indicating copy to clipboard operation
library copied to clipboard

Issue with node_modules

Open leopalazzi opened this issue 2 years ago • 5 comments

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'

leopalazzi avatar Mar 02 '22 14:03 leopalazzi

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

Javid-Izadfar avatar Mar 08 '22 15:03 Javid-Izadfar

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

dicktornfeldt avatar Mar 09 '22 08:03 dicktornfeldt

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

llewellyndsouza avatar Mar 11 '22 04:03 llewellyndsouza

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.

olahp avatar Mar 18 '22 09:03 olahp

Stale issue message

github-actions[bot] avatar Apr 29 '24 10:04 github-actions[bot]