The firebase-basics skill ships with newer versions of Android Studio. However, there is no guarantee that a Node.js environment will be present. (For example, MacOS does not ship with Node.js.)
This causes a poor user experience when the skill fails to run Firebase CLI.
Steps to Reproduce
- Run a Gemini in Android Studio session on a Mac, using the the latest Android Studio build. (Ensure node.js/npx hasn't been installed by an external process.)
- Trigger the 'firebase-basics' skill; for example, by asking to migrate the app to use Firestore.
- The agent will attempt to invoke Firebase CLI (for example, invoking 'npx -y firebase-tools@latest apps:sdkconfig').
Expected Result
The assistant should be able to execute Firebase CLI using an environment a stock MacOS environment, or utilities bundled with Android Studio.
Actual Result
The tool exits with: "exec: 'npx': executable file not found in $PATH" (Exit Code 127).
Suggested Mitigation
Modify the 'firebase-basics' skill to guide the user through installing npx/node.js using Homebrew (if installed), or direct download.
Alternatively, use the Firebase CLI automatic install script from https://firebase.tools.
The firebase-basics skill ships with newer versions of Android Studio. However, there is no guarantee that a Node.js environment will be present. (For example, MacOS does not ship with Node.js.)
This causes a poor user experience when the skill fails to run Firebase CLI.
Steps to Reproduce
Expected Result
The assistant should be able to execute Firebase CLI using an environment a stock MacOS environment, or utilities bundled with Android Studio.
Actual Result
The tool exits with: "exec: 'npx': executable file not found in $PATH" (Exit Code 127).
Suggested Mitigation
Modify the 'firebase-basics' skill to guide the user through installing npx/node.js using Homebrew (if installed), or direct download.
Alternatively, use the Firebase CLI automatic install script from https://firebase.tools.