Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

React 18 #529

Open
hamzashakir99 opened this issue Jul 9, 2022 · 14 comments
Open

React 18 #529

hamzashakir99 opened this issue Jul 9, 2022 · 14 comments

Comments

@hamzashakir99
Copy link

React 18 is not supported this Library version

@leecheuk
Copy link

While we wait for this, hopefully this helps.

npm uninstall react-google-login
npm install @leecheuk/react-google-login

@leecheuk/react-google-login is a fork of anthonyjgrove/react-google-login and has plugin_name support & updated peerDependency for React 18.

@anhdiepmmk
Copy link

pls do support react 18 i'm wating for this

@dani69654
Copy link

Following

@BillyG83
Copy link

React 18 was like soooooo last spring 😅 LFG!!

@rossanag
Copy link

rossanag commented Sep 4, 2022

While we wait for this, hopefully this helps.

npm uninstall react-google-login
npm install @leecheuk/react-google-login

@leecheuk/react-google-login is a fork of anthonyjgrove/react-google-login and has plugin_name support & updated peerDependency for React 18.

sadly, it doesnt work for me either: "Can't resolve 'react-google-login'"

@leecheuk
Copy link

leecheuk commented Sep 4, 2022

While we wait for this, hopefully this helps.

npm uninstall react-google-login
npm install @leecheuk/react-google-login

@leecheuk/react-google-login is a fork of anthonyjgrove/react-google-login and has plugin_name support & updated peerDependency for React 18.

sadly, it doesnt work for me either: "Can't resolve 'react-google-login'"

Have you tried clean cache or delete node_modules?

# Delete node_modules
rm -rf node_modules

# Clean npm cache
npm cache clean --force

npm install

@rossanag
Copy link

rossanag commented Sep 4, 2022

Thanks for your quick response, I will try later on and let you know. (I couldn't open an issue in your repo)
OS: Ubuntu 22.04

@mrprince123
Copy link

Hey I am also facing the same problem. Please help me I want to install react-google-login

@nebulae
Copy link

nebulae commented Oct 11, 2022

npm install @leecheuk/react-google-login

the real mvp, merci for this

@mrprince123
Copy link

Hope this will help

@oksurya
Copy link

oksurya commented Apr 25, 2023

use @react-oauth/google

@jenishkhunt01
Copy link

@leecheuk
Very much helpful. much appreciated.

@mohammed-shaheer-c
Copy link

i was using this npm install @leecheuk/react-google-login
but the error is coming You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead

@tariqrasheed172001
Copy link

i was using this npm install @leecheuk/react-google-login but the error is coming You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead

npm i gapi-script

add this in your app.js or index.js where routes has been defined
import { gapi } from 'gapi-script';

gapi.load("client:auth2", () => {
gapi.client.init({
clientId:
"*****.apps.googleusercontent.com",
plugin_name: "chat",
});
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests