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

TypeError: Cannot read properties of undefined (reading 'Html5Qrcode') #322

Closed
memiljamel opened this issue Oct 15, 2021 · 3 comments
Closed

Comments

@memiljamel
Copy link

Hi, I'm using React JS and getting this error message. Is it true that Html5Qrcode properties can't be read?. I just imported it and haven't done any code writing.

// I only imported the library and get error
import Html5QrcodeScanner from 'html5-qrcode';

how to fix it?

@mebjas mebjas linked a pull request Oct 17, 2021 that will close this issue
3 tasks
@mebjas
Copy link
Owner

mebjas commented Oct 17, 2021

Working on a fix.

@mebjas
Copy link
Owner

mebjas commented Oct 17, 2021

@emiljamel Can you verify with latest version of code with npm update?

(I'll add more documentation later)

@mebjas
Copy link
Owner

mebjas commented Oct 21, 2021

I have verified this to work with react, closing.

@mebjas mebjas closed this as completed Oct 21, 2021
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