-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem facing in firebase.js #8
Comments
Hey, actually the problem is that in the clone older version of firebase is used(which was latest at the time when this clone was made) and you are using the latest version of firebase. In current version the way of importing firebase has been changed. older
current
and you are gonna need these import too if you stick with the latest version of firebase...
|
can u share that firebase file |
yeah sure, but I am not able to upload the file....... |
yeah I am still getting the error can somebody help me guys? |
Thanks man 👍
…On Sun, Feb 13, 2022, 12:31 AM Shashwat Bangar ***@***.***> wrote:
yeah I am still getting the error can somebody help me guys?
I resolved it.
[image: Screenshot 2022-02-13 at 12 27 52 AM]
<https://user-images.githubusercontent.com/62360781/153724545-4e778822-6aeb-4aa5-a93e-f9e2d2421694.png>
[image: Screenshot 2022-02-13 at 12 28 51 AM]
<https://user-images.githubusercontent.com/62360781/153724581-c28e99a3-60e6-44b4-b60e-5d282542b569.png>
Actually firebase changed the way to import its methods. If you even stuck
in future, simply google "signInWithPopUp (whatever you want) new version"
—
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXXQMXKKEVCMCPRLOISR3I3U22U7RANCNFSM5LQWKADQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
It's been a while. Since I touched it. @Maazparker13 try importing firebase as a named import rather than a default import. Instead of default import
Try named import
|
for me it's working |
even I'm facing the same can some help with error which is coming after clicking on login button |
@IShubh-10 don't take it personal. But I will suggest you to leave this project. Cause its quite old, a lot has changed since then and is very basic too. In place of this you can try this projectt Happy coding and |
thanks buddy |
Compiled with problems:X
ERROR in ./src/firebase.js 3:0-32
Module not found: Error: Package path . is not exported from package C:\Users\acs\Desktop\disney\node_modules\firebase (see exports field in C:\Users\acs\Desktop\disney\node_modules\firebase\package.json)
Did you mean './firebase'?
Requests that should resolve in the current directory need to start with './'.
Requests that start with a name are treated as module requests and resolve within module directories (node_modules, C:\Users\acs\Desktop\disney\node_modules).
If changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.
The text was updated successfully, but these errors were encountered: