code-kotis / qr-code-scanner

📠 A simple, fast and useful progressive web application

Home Page:https://qrcodescan.in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The error you provided does not contain a stack trace

AKclown opened this issue · comments

index.js:1 Uncaught Error: The error you provided does not contain a stack trace.
at S (index.js:1)
at V (index.js:1)
at index.js:1
at index.js:1
at a (index.js:1)
S @ index.js:1
V @ index.js:1
(anonymous) @ index.js:1
(anonymous) @ index.js:1
a @ index.js:1
:3000/#/:1 Uncaught (in promise) DOMException: Requested device not found

@AKclown Provide more information. When did you got the issue and on what device?

I reported this error during initialization

import QRScanner from 'qr-code-scanner';

async componentDidMount() {
QRScanner.initiate({
onResult: (result) => { console.log('测试'); },
timeout: 10000
});
}

I only added these two sentences in react。He made a mistake

My local environment here, not https

@AKclown Hi, this is not a npm module where you can install it and use it. Its a simple web app.

closing this issue as this is not an issue. Pls post your questions in stackover flow to get help.

thanks you 。 I found the same name at npm and thought your