You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade firebase-tools to a version greater than 9.16.0
Run a command with firebase emulators:exec
Expected behavior
The command continues to run as with <=9.16.0
Actual behavior
The command fails with the following error:
Error: No currently active project.
To run this command, you need to specify a project. You have two options:
- Run this command with --project <alias_or_project_id>.
- Set an active project by running firebase use --add, then rerun this command.
To list all the Firebase projects to which you have access, run firebase projects:list.
To learn about active projects for the CLI, visit firebase.google.com/docs/cli#project_aliases
The text was updated successfully, but these errors were encountered:
Environment info
firebase-tools: 9.16.4
Platform: Ubuntu
Test case
I have a test suite running in CI using
firebase-tools
. Here’s the command:firebase emulators:exec --only firestore 'npm run jest'
.These tests ran and passed with firebase-tools 9.16.0 (and earlier) (most recent successful run).
When upgrading to 9.16.2 or 9.16.4, the CI fails with a “No currently active project” error. Here’s the error in the PR attempting to upgrade to 9.16.4.
My guess is that #3636 is the culprit.
Steps to reproduce
firebase emulators:exec
Expected behavior
The command continues to run as with <=9.16.0
Actual behavior
The command fails with the following error:
The text was updated successfully, but these errors were encountered: