Skip to content

appdistribution:distribute error - ShellJSInternalError: ENOENT: no such file or directory #11593

Backlog

Description

@l3ender

[REQUIRED] Environment info

firebase-tools: 15.37.0

We are using the standalone binary installation method.

Platform: macOS

ProductName:		macOS
ProductVersion:		26.7.1
BuildVersion:		25G241

[REQUIRED] Test case

Intermittent issue; unable to provide test case.

[REQUIRED] Steps to reproduce

Run firebase appdistribution:distribute to upload an app's binary file. The issue is intermittent and does not occur every time.

[REQUIRED] Expected behavior

The upload should succeed.

[REQUIRED] Actual behavior

The output of the command results in an error and the following message:

firebase appdistribution:distribute ios/App/build/device/app.ipa --app 1:xxx:ios:xxx --release-notes-file dist/release_notes.txt --groups my-team
This tool has encountered an error. Please file a bug on Github (https://github.com/firebase/firebase-tools/) and include firepit-log.txt

Attached is the log file from an event: 2026-11-25-firepit-log.txt.

Additional information

We see the issue intermittently with appdistribution:distribute uploads for both Android and iOS binaries. The issue does not occur each time and cannot be consistently reproduced.

We suspect it may be a concurrency issue, where multiple appdistribution:distribute commands are running simultaneously. However, cannot consistently reproduce the issue even with running the same command for multiple uploads at the same time (e.g. upload both Android and iOS binaries at the same time).

Additional system/information, as captured after the time of the event:

-> whoami
autobuild

-> which firebase
/Users/autobuild/opt/firebase-cli/firebase

-> firebase --version
15.37.0

-> ls -la ~/opt/firebase-cli/
total 904144
drwxr-xr-x  4 autobuild  staff        128 Nov 24 22:22 .
drwxr-xr-x  8 autobuild  staff        256 Jul 29  2025 ..
-rwxr-xr-x  1 autobuild  wheel  271565252 Nov 24 22:22 firebase

-> ls -la ~/.cache/firebase/
total 0
drwxr-xr-x   4 autobuild  staff  128 Nov 24 22:22 .
drwxr-xr-x   3 autobuild  staff   96 Nov 24 22:22 ..
drwxr-xr-x  11 autobuild  staff  352 Nov 25 16:01 runtime
drwxr-xr-x   4 autobuild  staff  128 Nov 24 22:22 tools

-> ls -la ~/.cache/firebase/runtime/
total 72
drwxr-xr-x  11 autobuild  staff   352 Nov 25 16:01 .
drwxr-xr-x   4 autobuild  staff   128 Nov 24 22:22 ..
-rwxr-xr-x   1 autobuild  staff    99 Nov 25 16:01 node
-rwxr-xr-x   1 autobuild  staff   107 Nov 25 16:01 node.bat
-rwxr-xr-x   1 autobuild  staff   741 Nov 25 16:01 node.js
-rwxr-xr-x   1 autobuild  staff   255 Nov 25 16:01 npm
-rwxr-xr-x   1 autobuild  staff   224 Nov 25 16:01 npm.bat
-rwxr-xr-x   1 autobuild  staff    47 Nov 25 16:01 npmrc
-rwxr-xr-x   1 autobuild  staff   100 Nov 25 16:01 shell
-rwxr-xr-x   1 autobuild  staff   108 Nov 25 16:01 shell.bat
-rwxr-xr-x   1 autobuild  staff  2976 Nov 25 16:01 shell.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions