firebase / firebase/agent-skills
Firebase-basics skill fails in Android Studio - Firebase CLI can't run due to lack of npx/node.js
- Dominant language
- JavaScript
- Stars
- 443
- Forks
- 96
- Avg merge
- 8h 10m
- Merged PRs (30d)
- 3
Description
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
1. 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.)
2. Trigger the 'firebase-basics' skill; for example, by asking to migrate the app to use Firestore.
3. 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.
Contributor guide
Research direction
Inspect the firebase-basics skill and the npx -y firebase-tools@latest apps:sdkconfig invocation described in the issue. Reproduce the failure on a stock macOS environment without Node.js, then evaluate the proposed installation guidance or automatic installer approach. Done means the skill can guide or enable Firebase CLI execution when npx is initially unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript, nodejs
- Domain
- cli, mobile-dev, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100