You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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)"
}
}
Activity
github-actions commentedon Feb 11, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
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.
Yucheng1017 commentedon Feb 11, 2026
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)"
}
}
Yucheng1017 commentedon Feb 11, 2026
same+1
izjing commentedon Feb 11, 2026
AlexD17 commentedon Feb 11, 2026
github-actions commentedon Feb 11, 2026
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.
banpie commentedon Feb 11, 2026
看了日志,把文件夹的中文修改为英文就好了。
After checking the log, it's fine to change the Chinese name of the folder to English.
AlexD17 commentedon Feb 11, 2026
@banpie 文件夹直接改名没用,重新打开后,他识别的还是之前的中文名,肯定是在系统文件中有识别路径的
banpie commentedon Feb 12, 2026
我把错误日志丢AI,我修改成英文就好了,但是如果路径有中文,还是不行,比如用户名是中文。