It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Firebase deployment fails

# using the available node version at Google Cloud Functionimage: node:6.11pipelines: default: - step: name: Test function script: - npm install - npm install firebase-tools  - firebase init - firebase deploy # - npm test branches: master: - step: name: Build function script: - pipe: atlassian/firebase-deploy:0.2.3 variables: FIREBASE_TOKEN:xxxb PROJECT_ID: 'value' MESSAGE: 'Deploying myAwesomeProject' EXTRA_ARGS: '--only functions' DEBUG: 'true'

I have tried to set up the pipeline but everytime it gives me this error

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

1 answer

1 vote

Hi Shaikh! Do you have a firebase.json file somewhere in your repository? If not, you should create one, here is how to do it

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,031 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you