You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a client component is pre-rendered on the server Typesaurus will try to load firebase-admin and throw an error 'The default Firebase app does not exist'. How do we prevent this?
The text was updated successfully, but these errors were encountered:
Hey, @TomKaltz, thank you for reporting that, and sorry for the silence. I was on vacation. I will investigate and share a solution or publish an update that fixes it.
We're also running into this issue when trying to run jest tests on our frontend firebase code with typesaurus. Typesaurus seems to think it is on the server and I don't know how to get it to use the web adaptor. Jest's testEnvironment is jsdom so it should act mostly like a DOM environment.
When a client component is pre-rendered on the server Typesaurus will try to load firebase-admin and throw an error 'The default Firebase app does not exist'. How do we prevent this?
The text was updated successfully, but these errors were encountered: