Skip to content
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

Cannot open started application due to Firebase error #2006

Closed
emirmo opened this issue Oct 1, 2022 · 2 comments · Fixed by #2008
Closed

Cannot open started application due to Firebase error #2006

emirmo opened this issue Oct 1, 2022 · 2 comments · Fixed by #2008

Comments

@emirmo
Copy link

emirmo commented Oct 1, 2022

Environment details

OS: Ubuntu 22.04.1 LTS
Node version: v18.8.0

Steps to reproduce:

  1. Execute the following steps from readme:
$ git clone https://github.com/kriasoft/react-starter-kit.git example
$ cd ./example
$ yarn install
$ yarn start
  1. Navigate via web browser to the following URL:
    http://localhost:5173/

The browser shows the following error:
Uncaught FirebaseError: Installations: Missing App configuration value: "projectId" (installations/missing-app-config-values).

Fixes attempted:

Changing Firebase credentials by adding my own does not help.
If there are additional instructions in readme file that I've missed, please add them.

@peterkuykendall
Copy link

Having the same problem

@emirmo
Copy link
Author

emirmo commented Oct 3, 2022

Having the same problem

I suspect the following part of the readme file is intended to indicate how to approach this:

update the environment variables found in [env/*.env]

So if you set the following environment variables to some values (they do not even have to be valid credentials), the error no longer occurs:

GOOGLE_CLOUD_PROJECT=
GOOGLE_CLOUD_REGION=

However, I'd suggest developers update the readme file to clarify this further.

Additionally, my web browser reports other console errors even after this issue is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants