Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,397
Community Members
 
Community Events
176
Community Groups

Firebase deployment fails - Not in a Firebase app directory (could not locate firebase.json)

Edited

I get this message even though I have a firebase.json file in my root directory?

I have searched the web, including stackoverflow and still can't seem to find a solution.  Please assist! 🙏🏼

 

1 answer

0 votes

Hi Phil and welcome to the community!

I'd like to ask if you could share some additional info so we can better help you:

1. Do you use the firebase-deploy pipe to deploy, or are you doing the deployment in a different way?

2. Can you add the command ls -lah in your bitbucket-pipelines.yml file, right before the command that does the deployment, and let us know if the firebase.json file is listed in the output?

3. Could you please provide the full output of the deployment command? (make sure to mask any private/sensitive info in the output prior to sharing it here)

Kind regards,
Theodora

Hi Theodora

Thank you for your reply, I can confirm that I am using atlassian/firebase-deploy:1.3.0, I have added the command but am unable to run the pipe as I have run out of build minutes in my efforts to test and resolve the issue.  I do not want to upgrade my plan until I know that this issue is resolved as firebase deployment is critical to the project.  Can you please provide me with a few more minutes in order to run the test?

Kind regards,

Phil

Hi Phil,

I'm afraid that I cannot add build minutes to workspaces, I would suggest debugging this the following way:

1. Log in to your Bitbucket Cloud account and create a new workspace for testing purposes
2. Fork your repo under this new workspace (which will have 50 build minutes available)
3. Recreate in the newly forked repo any Pipelines variables you may be using
4. Add the command ls -lah in the bitbucket-pipelines.yml file of the forked repo, in the same step that does the deployment, and right before the pipe command
5. Add the variable DEBUG: 'true' in the pipe's variables in the bitbucket-pipelines.yml file
6. Then trigger a build for this new repo

Please let us know if firebase.json is listed in the output of ls -lah, and also the full output of the pipe command (make sure to remove or mask any private/sensitive info in the output prior to sharing it here)

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events