Giter Club home page Giter Club logo

Comments (10)

bhubr avatar bhubr commented on August 19, 2024 1

@desoss OK I'm gonna have a little time after a long streak of work. I'll try and fix it ASAP.

from react-simple-oauth2-login.

bhubr avatar bhubr commented on August 19, 2024 1

@desoss Hi!

I just published v0.5.4 which solves the problem. Instead of specifying a range such as 16-17, all React versions from 16 are now accepted.

Thank you again for reporting, and sorry @alxnik for not handling the issue earlier.

from react-simple-oauth2-login.

bhubr avatar bhubr commented on August 19, 2024

Thank you for reporting. No, there are no actual reason for stating versions 16-17. It was just a quick change from the original version, which stated React 15.

from react-simple-oauth2-login.

desoss avatar desoss commented on August 19, 2024

@bhubr can the project start supporting react 18?

This is what we get:

npm ERR! Could not resolve dependency:
npm ERR! peer react@"16.0 - 17" from [email protected]

from react-simple-oauth2-login.

bhubr avatar bhubr commented on August 19, 2024

@desoss Sorry for the delay. I'm about to publish an update, but I'm having trouble with my NPM account, due to a problem with 2FA.

In the meantime I can propose you a workaround:

I hadn't stumbled upon this issue because I usually use Yarn instead of NPM. Yarn isn't as strict as NPM and lets you install "incompatible" peer dependencies with warnings instead of errors.

If you never used Yarn before:

  1. install it: npm i -g yarn

  2. in your React app's directory, run:

    • rm package-lock.json (remove NPM lockfile)
    • yarn (install dependencies with yarn)
    • yarn add react-simple-oauth2-login (install the lib)

from react-simple-oauth2-login.

desoss avatar desoss commented on August 19, 2024

Hey @bhubr, I managed to install it through yarn last week!
I confirm that it works. So no hurries.
Nevertheless, don't forget the npm support for newcomers.

from react-simple-oauth2-login.

bhubr avatar bhubr commented on August 19, 2024

@all-contributors please add @alxnik for bug

from react-simple-oauth2-login.

allcontributors avatar allcontributors commented on August 19, 2024

@bhubr

I've put up a pull request to add @alxnik! 🎉

from react-simple-oauth2-login.

bhubr avatar bhubr commented on August 19, 2024

@all-contributors please add @desoss for bug

from react-simple-oauth2-login.

allcontributors avatar allcontributors commented on August 19, 2024

@bhubr

I've put up a pull request to add @desoss! 🎉

from react-simple-oauth2-login.

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.