Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with node_modules #512

Open
leopalazzi opened this issue Mar 2, 2022 · 5 comments
Open

Issue with node_modules #512

leopalazzi opened this issue Mar 2, 2022 · 5 comments

Comments

@leopalazzi
Copy link

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
Copy link

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

@dicktornfeldt
Copy link

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

@llewellyndsouza
Copy link

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

@olahp
Copy link

olahp commented Mar 18, 2022

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.

Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants