Comments (10)
@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.
@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.
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.
@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.
@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:
-
install it:
npm i -g yarn
-
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.
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.
@all-contributors please add @alxnik for bug
from react-simple-oauth2-login.
I've put up a pull request to add @alxnik! 🎉
from react-simple-oauth2-login.
@all-contributors please add @desoss for bug
from react-simple-oauth2-login.
I've put up a pull request to add @desoss! 🎉
from react-simple-oauth2-login.
Related Issues (20)
- When I added to my project ,occured problem? HOT 1
- Prop for selecting redirect strategy HOT 1
- When using code response, DOMException is silenced HOT 1
- How to specify scopes HOT 1
- Redirect URI is not encoded HOT 3
- Tests don't work anymore 😱 HOT 2
- End-to-end testing HOT 2
- How to handle browsers that don't support popup read / postMessage HOT 1
- Credit original contributors HOT 4
- Support Auth Code + PKCE flow
- Adding additional query params breaks the client id HOT 2
- Cannot resolve dependency './settings-code' at '...\example\client\src\settings-code' HOT 5
- Improve docs & examples HOT 2
- Setup semantic release for auto versioning, packaging / publishing, & changelog HOT 1
- Not working with React 17.0.2 HOT 4
- Headless functionality in hook
- Using with typescript! HOT 4
- "The popup was closed for an unexpected reason" popup is still open HOT 1
- onSucess when crossorigin HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-simple-oauth2-login.