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 on firebase appdistribution:testers:list #8191

Closed
kuba-motulewicz-sg opened this issue Feb 10, 2025 · 2 comments · Fixed by #8195
Closed

Error on firebase appdistribution:testers:list #8191

kuba-motulewicz-sg opened this issue Feb 10, 2025 · 2 comments · Fixed by #8195

Comments

@kuba-motulewicz-sg
Copy link

kuba-motulewicz-sg commented Feb 10, 2025

[REQUIRED] Environment info

firebase-tools: 13.30.0

Platform: Ubuntu. macOS

[REQUIRED] Test case

The problem appears only when there is a tester added to a Firebase project that is not assigned to any test group.
Run the following commands in the terminal:

[REQUIRED] Steps to reproduce

export GOOGLE_APPLICATION_CREDENTIALS="service_account.json"
firebase appdistribution:testers:list --project "$PROJECT_ID"

[REQUIRED] Expected behavior

Testers are listed

[REQUIRED] Actual behavior

There is an error:

✔ Preparing the list of your App Distribution testers

Error: An unexpected error has occurred.

Having trouble? Try again or contact support with contents of firebase-debug.log

In logs:

[debug] [2025-02-10T11:06:52.834Z] TypeError: Cannot read properties of undefined (reading 'map')
    at printTestersTable (/Users/praca/.cache/firebase/tools/lib/node_modules/firebase-tools/lib/commands/appdistribution-testers-list.js:48:14)
    at Command.actionFn (/Users/praca/.cache/firebase/tools/lib/node_modules/firebase-tools/lib/commands/appdistribution-testers-list.js:34:5)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[error] 
[error] Error: An unexpected error has occurred.
@google-oss-bot
Copy link
Contributor

This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information.

@aalej
Copy link
Contributor

aalej commented Feb 10, 2025

Thanks for reporting this, @kuba-motulewicz-sg! I’m able to reproduce the error. As you mentioned, this happens when a tester is not in any group. I’ll raise this to our engineering team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants