GithubHelp home page GithubHelp logo

Comments (12)

dcastillogi avatar dcastillogi commented on June 8, 2024 6

For those who are attempting to deploy to Vercel, keep in mind the following steps: Go to Settings > General > Build & Development Settings. Then, override the Install Command by using either npm install --force or npm install --legacy-peer-deps.

from react-qr-reader.

val-samonte avatar val-samonte commented on June 8, 2024 5

Big issue tbh. If someone created a fork to fix this please drop it here. Thanks.

from react-qr-reader.

Rehankhalil462 avatar Rehankhalil462 commented on June 8, 2024 1

@galmalka21 use --legacy-peer-deps flag while installing this package. It will work with [email protected].

from react-qr-reader.

vbsh123 avatar vbsh123 commented on June 8, 2024

If this is still relevant, there's a similiar version that works (idk if its forked from this one though but it is based on this)
https://github.com/kybarg/react-qr-scanner

from react-qr-reader.

vairaselvam avatar vairaselvam commented on June 8, 2024

Even I need a solution. I migrated ReactJs from 16 to 18. Now react-qr-reader is throwing error.

from react-qr-reader.

kelvinCJJ avatar kelvinCJJ commented on June 8, 2024

Any solutions?

from react-qr-reader.

hholmes6 avatar hholmes6 commented on June 8, 2024

same

from react-qr-reader.

phanthaiduong22 avatar phanthaiduong22 commented on June 8, 2024

I have same issue

from react-qr-reader.

Jcoloma13 avatar Jcoloma13 commented on June 8, 2024

"overrides": {
"react-qr-reader": {
"react": "$react",
"react-dom": "$react-dom"
}
}

You can try this.

from react-qr-reader.

adlarionov avatar adlarionov commented on June 8, 2024

Just run npm i --legacy-peer-deps react-qr-reader, then in your generated package-lock.json rewrite peerDependencies in node_mobules/react-qr-reader field. Lastly, run npm i. Everything should work.
image

from react-qr-reader.

h0jeZvgoxFepBQ2C avatar h0jeZvgoxFepBQ2C commented on June 8, 2024

Just run npm i --legacy-peer-deps react-qr-reader, then in your generated package-lock.json rewrite peerDependencies in node_mobules/react-qr-reader field. Lastly, run npm i. Everything should work. image

I'm not sure if i'm totally right, but just ignoring dependency issues is not the best way forward. this issue should be fixed

from react-qr-reader.

adlarionov avatar adlarionov commented on June 8, 2024

Just run npm i --legacy-peer-deps react-qr-reader, then in your generated package-lock.json rewrite peerDependencies in node_mobules/react-qr-reader field. Lastly, run npm i. Everything should work. image

I'm not sure if i'm totally right, but just ignoring dependency issues is not the best way forward. this issue should be fixed

Yes, you are absolutly right. I just showed my solution to this problem. It is an issue that should be fixed for sure

from react-qr-reader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.