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

"Error: Not in a Firebase app directory (could not locate firebase.json)", but it is there?¿ #590

Open
kovan opened this issue Sep 30, 2022 · 0 comments

Comments

@kovan
Copy link

kovan commented Sep 30, 2022

Affected builder image

gcr.io/cloud-builders-community/firebase

Expected Behavior

command firebase deploy working

Actual Behavior

I get the error:

Error: Not in a Firebase app directory (could not locate firebase.json)

Even though there is a firebase.json in the current directory.

Steps to Reproduce the Problem

  1. build docker image
  2. docker run --rm -e GOOGLE_APPLICATION_CREDENTIALS=./backend/videosdb/keys/testing.json firebase deploy --project videosdb-testing --only=hosting
  3. profit

Additional Info

Also, if I just switch to using my local firebase binary, it deploys well. I.E. Removing the "docker run --rm -e" part of the above command.

Thank you for your time. I am avaiable for testing.

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

No branches or pull requests

1 participant