Skip to content

Gemini tries to read gemini.md "file" but its really a directory #4760

@LyalinDotCom

Description

@LyalinDotCom

What happened?

When I start Gemini CLI I get this warning (not pasting the full path but you get the idea)

[WARN] [MemoryDiscovery] Warning: Could not read GEMINI.md file at /Users/ ... / gemini.md. Error: EISDIR: illegal operation on a directory, read

What did you expect to happen?

I don't get to see this as I dont have a file at that path called gemini.md, I have a directory there called gemini.md

Client information

$ gemini /about
CLI Version             0.1.13                                       │
│ Git Commit              412b78c5 (local modifications)               │
│ Model                   gemini-2.5-pro                               │
│ Sandbox                 no sandbox                                   │
│ OS                      darwin                                       │
│ Auth Method             OAuth

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreCore functionality of the CLIgood first issueGood for newcomerskind/bugSomething isn't workingpriority/p3Backlog - a good idea but not currently a priority.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions