Skip to content

Conversation

@8bitmp3
Copy link
Contributor

@8bitmp3 8bitmp3 commented Jun 30, 2025

  • Nit fixes to the Troubleshooting doc from the tech writing perspective.
  • As the doc gets larger over time, there's a small ToC in the beginning.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of Changes

Hello @8bitmp3, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on improving the troubleshooting documentation for the Gemini CLI. It includes minor fixes, a table of contents, and expanded explanations for common issues and solutions, making it easier for users to diagnose and resolve problems they may encounter.

Highlights

  • Troubleshooting Guide Improvements: The troubleshooting guide has been updated with minor fixes and a table of contents to improve readability and navigation.
  • FAQ Updates: The FAQ section has been expanded with more detailed answers and clarifications, including information about configuration file locations and token usage.
  • Error Message Solutions: Solutions for common error messages have been updated and clarified, including steps for resolving 'Command not found' and 'MODULE_NOT_FOUND' errors.
  • CI Environment Handling: The guide now includes specific information on how to handle CI environments where the CLI might not run in interactive mode due to environment variables.
  • Debugging Tips: Added debugging tips and guidance on tool issues and pre-flight checks, as well as a pointer to the GitHub issue tracker.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request significantly improves the troubleshooting documentation by adding a table of contents, clarifying existing sections, and restructuring information for better readability. The changes make the guide more user-friendly and effective for resolving common issues. The added details and improved phrasing are excellent. I have no high or critical severity feedback on these changes.

@8bitmp3
Copy link
Contributor Author

8bitmp3 commented Jun 30, 2025

@NTaylorMullen @cperry-goog @KeijiBranshi PTAL

TODO: Fix the build and lint issue

@8bitmp3
Copy link
Contributor Author

8bitmp3 commented Jun 30, 2025

@markmcd PTAL (if you are here)

Copy link
Member

@markmcd markmcd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple minor nits but otherwise thanks!

- **Solution:**
1. Run `npm install` to ensure all dependencies are present.
2. Run `npm run build` to compile the project.
3. Verify that the build completed successfully with `gemini --version`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid hitting "not installed" or not on path, can you make this npm run start

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@markmcd PTAL

@NTaylorMullen
Copy link
Collaborator

@8bitmp3 looks like there may be a few merge conflicts + you may need to run npm run format and repush here

@8bitmp3
Copy link
Contributor Author

8bitmp3 commented Jul 28, 2025

thanks @NTaylorMullen I ran prettier (newer version)

@8bitmp3
Copy link
Contributor Author

8bitmp3 commented Aug 1, 2025

@markmcd PTAL

@SandyTao520 SandyTao520 enabled auto-merge August 5, 2025 22:07
@SandyTao520 SandyTao520 added this pull request to the merge queue Aug 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 5, 2025
@SandyTao520 SandyTao520 added this pull request to the merge queue Aug 5, 2025
Merged via the queue into google-gemini:main with commit c402784 Aug 5, 2025
14 checks passed
thacio added a commit to thacio/auditaria that referenced this pull request Aug 6, 2025
@8bitmp3 8bitmp3 deleted the small-doc-fixes branch August 6, 2025 22:19
agmsb pushed a commit to agmsb/gemini-cli that referenced this pull request Aug 6, 2025
JunYang-tes pushed a commit to JunYang-tes/gemini-cli.nvim that referenced this pull request Aug 9, 2025
JeongJaeSoon pushed a commit to JeongJaeSoon/gemini-cli that referenced this pull request Aug 21, 2025
involvex pushed a commit to involvex/gemini-cli that referenced this pull request Sep 11, 2025
reconsumeralization pushed a commit to reconsumeralization/gemini-cli that referenced this pull request Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants