Skip to content

新版本1.1.56加载部分项目, 报列出文件失败 #13048

Closed as not planned

Description

@wenshunxin

Description

报列出文件失败

Plugins

No response

OpenCode version

1.1.56

Steps to reproduce

加载小程序项目

Screenshot and/or share link

Image

Operating System

macOS

Terminal

No response

Activity

  1. github-actions commented on Feb 11, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Steps to reproduce: Currently just says "加载小程序项目" (Load mini program project). Please provide detailed steps on how to reproduce this issue.
    • Plugins: Please provide information about which plugins you have installed
    • Terminal: Please provide terminal output or error logs from the OpenCode log file

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    Potential duplicate:
    This issue appears to be a duplicate of #13045, which reports the same "Failed to list files" error in version 1.1.56. Both issues involve file loading failures. Please check if your issue is the same or related, and consider consolidating if they are duplicates.

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. Yucheng1017 commented on Feb 11, 2026

    @Yucheng1017

    opencode
    {
    "name": "UnknownError",
    "data": {
    "message": "TypeError: Header 'x-opencode-directory' has invalid value: '/Users/xiaoyucheng/Desktop/清湛/归档/项目/doc-diff/doc-platform'\n at set (unknown)\n at mergeHeaders (../sdk/js/src/gen/client/utils.gen.ts:184:23)\n at mergeConfigs (../sdk/js/src/gen/client/utils.gen.ts:161:20)\n at createClient (../sdk/js/src/gen/client/client.gen.ts:21:17)\n at createOpencodeClient (../sdk/js/src/client.ts:28:18)\n at (src/plugin/index.ts:25:20)\n at (src/project/state.ts:22:21)\n at init2 (src/plugin/index.ts:123:25)\n at InstanceBootstrap (src/project/bootstrap.ts:19:16)\n at (src/project/instance.ts:34:23)\n at async provide (src/project/instance.ts:40:23)"
    }
    }

  3. Yucheng1017 commented on Feb 11, 2026

    @Yucheng1017

    same+1

  4. izjing commented on Feb 11, 2026

    @izjing

    ImageWhen multiple projects exist, only one project can be opened normally, while the other projects show a ‘列出文件失败’ error.

  5. AlexD17 commented on Feb 11, 2026

    @AlexD17
    Image Please fix this bug quickly, my conversations are missing.
  6. github-actions commented on Feb 11, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

  7. banpie commented on Feb 11, 2026

    @banpie

    看了日志,把文件夹的中文修改为英文就好了。

    After checking the log, it's fine to change the Chinese name of the folder to English.

  8. AlexD17 commented on Feb 11, 2026

    @AlexD17

    @banpie 文件夹直接改名没用,重新打开后,他识别的还是之前的中文名,肯定是在系统文件中有识别路径的

  9. banpie commented on Feb 12, 2026

    @banpie

    @banpie 文件夹直接改名没用,重新打开后,他识别的还是之前的中文名,肯定是在系统文件中有识别路径的

    我把错误日志丢AI,我修改成英文就好了,但是如果路径有中文,还是不行,比如用户名是中文。

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds:complianceThis means the issue will auto-close after 2 hours.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions