Open hamzashakir99 opened 2 years ago
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.
pls do support react 18 i'm wating for this
Following
React 18 was like soooooo last spring 😅 LFG!!
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 ofanthonyjgrove/react-google-login
and hasplugin_name
support & updatedpeerDependency
for React 18.
sadly, it doesnt work for me either: "Can't resolve 'react-google-login'"
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 ofanthonyjgrove/react-google-login
and hasplugin_name
support & updatedpeerDependency
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
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
Hey I am also facing the same problem. Please help me I want to install react-google-login
npm install @leecheuk/react-google-login
the real mvp, merci for this
Hope this will help
use @react-oauth/google
@leecheuk Very much helpful. much appreciated.
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
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", }); });
React 18 is not supported this Library version