FirebaseError: Firebase: Need to provide options, when not being deployed to hosting via source. (app/no-options). #626
Answered
by
kmjennison
kevinnammour
asked this question in
Q&A
-
It was working just fine, and suddenly it started giving me this error: This is my initAuth.ts code and all the env vars are in the .env.local file:
And this is the _app.tsx code:
And this code is throwing the error:
|
Beta Was this translation helpful? Give feedback.
Answered by
kmjennison
Apr 6, 2023
Replies: 1 comment 2 replies
-
See #614. This isn't clearly solved yet but is likely related to some change in recent patch versions of the Firebase JS SDK. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, according to others' comments, it looks like using a slightly older version of the Firebase JS SDK fixes the problem.