Skip to content

Error: Directory "commands" in C:\Users\LousyBook01\.opencode is not valid. Did you mean "command"? #3252

Closed

Description

@notlousybook
C:\Users\LousyBook01>opencode
Error: Directory "commands" in C:\Users\LousyBook01\.opencode is not valid. Did you mean "command"?

there is no stuff in the folder named that

C:\Users\LousyBook01\Documents\Github\ZtoApi-Deno>dir %USERPROFILE%\.config\opencode
 Volume in drive C has no label.
 Volume Serial Number is 7E95-82A0

 Directory of C:\Users\LousyBook01\.config\opencode

10/18/2025  10:43 AM    <DIR>          .
10/18/2025  10:43 AM    <DIR>          ..
10/18/2025  10:43 AM                45 .gitignore
10/18/2025  10:43 AM               689 bun.lock
10/18/2025  10:43 AM    <DIR>          node_modules
10/18/2025  10:43 AM                63 package.json
               3 File(s)            797 bytes
               3 Dir(s)  358,656,577,536 bytes free

Activity

  1. github-actions commented on Oct 18, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    The error suggests opencode is looking for a "command" directory but finding "commands" instead, which appears to be a path validation or configuration setup issue similar to these other cases.

    Feel free to ignore if none of these address your specific case.

  2. veracioux commented on Oct 18, 2025

    @veracioux
    Contributor

    @LousyBook94 Opencode is complaining about C:\Users\LousyBook01\.opencode (without .config), but you checked C:\Users\LousyBook01\.config\opencode (with .config). Does commands folder exist in C:\Users\LousyBook01\.opencode?

  3. notlousybook commented on Oct 18, 2025

    @notlousybook
    Author

    @veracioux oh thanks so much, i did not releasie there was a second folder, i read only the .config, but now it works thanksss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions