-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
bug: Missing App configuration value: "projectId" #391
Comments
@prescottprue Trying this today, initially my github deploy action is failing with:
|
@mikeover Thanks for such a quick response! Thats weird... Were any messages writing to your functions logs in the console? You should be able to add the following to the deploy workflow right after the deploy step to archive the log files that Firebase generates: # Archive debug logs if deploy fails
- name: Archive Debug Logs
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: debug-logs
path: '*.log' On that note, I'm going to add ^ to the deploy workflow in the generator for future debugging 🚀 |
@prescottprue I'm not sure I understand your question but I added that step after the deploy but all it gave me was
|
Note also that trying to just deploy that function from the command line via
In firebase logs I see this error:
I went into the functions dir and ran |
Fixed with this change and ready to roll:
|
Co-Authored-By: Mike Over <mikeover@users.noreply.github.com>
The engines should be set to 14.0.0 with v8.0.0 of the generator which matches what the newer versions of firebase-tools should, so not sure why that wouldn't be picked up correctly. Was this from your local machine or in CI? If it was from your local it could be due to an old version of firebase tools which is installed globally - firebase-tools is included as a dev dep too (which is used in CI), but you can use with That dependency version issue issue is fixed in v8.0.1. Thanks for all of your help with reporting - added you as a contributor on that last commit/PR. Let me know if anything else isn't running perfectly or if you have any ideas for features 😄 |
Describe the bug
Uncaught (in promise) FirebaseError: Installations: Missing App configuration value: "projectId" (installations/missing-app-config-values)
As described here by @mikeover
To Reproduce
Steps to reproduce the behavior:
Expected behavior/code
A clear and concise description of what you expected to happen (or code).
Possible Solution
.firebaserc
underprojects
matches branch structure (i.e. there is a project alias for the current branch such asprod
for theprod
branch)Additional Context/Screenshots
The text was updated successfully, but these errors were encountered: