Firebase auth won't work if using package manager.

I’ve tried to put firebase auth logic in backend file, all things were done when using package manager to installed firebase.

However, I can not access firebase provider when I tried to provide facebook login to my users.

There are some snapshots of my code and setups.

It’s page file.


It’s backend file.


Besides, I can log ‘firebase’ alone as Object.

I did search all topics about it, but nothing helps.

Is there anything wrong with my code or my setups?
Thank you.

1 Like

@d24659033 I met some problems in using firebase module, the basic installation doesn’t even work, any suggestion is appreciated. After installation, without any real code, just add “import * as firebase from ‘firebase/app’” gave me error message " can not find module ‘fs’".

Hey guys, were you able to solve this? If so, could you share your setup on the Wix backend side please? I’m also trying to implement firebase phone auth logic…

is there a solution for this problem? I’m facing the exact same issue

Hey,

We are aware of the issue and I am pleased to inform you that our technical team has implemented a fix and we do not expect any further difficulties regarding this matter.

Can you please doublecheck if it works properly on your side and let us know?

Thanks in advance, we await for your reply.