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

Sourcemap points to missing source files #49

Open
LiiXoo opened this issue Dec 25, 2022 · 1 comment
Open

Sourcemap points to missing source files #49

LiiXoo opened this issue Dec 25, 2022 · 1 comment

Comments

@LiiXoo
Copy link

LiiXoo commented Dec 25, 2022

I've got this error when Im testing this. Vue 3 / Vite, how can I fix it?

Sourcemap for "E:/BarcodeReaderTest/node_modules/@zxing/library/esm/index.js" points to missing source files

@bin-one
Copy link

bin-one commented Jan 12, 2023

There is a pull request waiting on zxing libs
zxing-js/library#546

Temporary and hacky fix is to remove or rename all "sourceMappingURL" in the comments on the last line of all .js fles in the node_modules/@zxing/library/esm directory. In *nix its a straight forward find & sed or repl thing.

This is not a solution, but a way to de-clutter your console while waiting for the pull request to be merged in. Mucking around in node_modules is frowned upon and will be lost upon update.

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

No branches or pull requests

2 participants