We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I use React version 18.1.0 and this is my code
React version 18.1.0
import React from "react"; import BarcodeScannerComponent from "react-qr-barcode-scanner"; export default function BarcodeScanner() { const [data, setData] = React.useState("Not Found"); return ( <> <BarcodeScannerComponent width={500} height={500} onUpdate={(err, result) => { if (result) setData(result.text); else setData("Not Found"); }} /> <p>{data}</p> </> ); }
When I run npm start I got many errors about no such file or directory on node_modules\@zxing\library\src
npm start
node_modules\@zxing\library\src
How can I fix it ?
The text was updated successfully, but these errors were encountered:
Same issue here
Sorry, something went wrong.
same here.. is there any solution?
Same issue here :( any tip?
You have to install "@zxing/library": "0.18.6". Working for me.
No branches or pull requests
I use
React version 18.1.0
and this is my codeWhen I run
npm start
I got many errors about no such file or directory onnode_modules\@zxing\library\src
How can I fix it ?
The text was updated successfully, but these errors were encountered: