Skip to content

ENOENT error when referencing file paths in OpenCode AI CLI (windows) #2799

@Aaryan6

Description

@Aaryan6

When mentioning a file path in the OpenCode CLI, the message fails to send and throws an ENOENT error. It seems like the CLI is trying to scan a directory that doesn’t exist (but it exists).

Image

Also, when searching for files using @filename (e.g., @hero), the CLI does not identify the file.

Image

System: Windows 11
Opencode version: 0.11.8

How to resolve this?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions