opencode icon indicating copy to clipboard operation
opencode copied to clipboard

更新到 1.1.31版本启动失败

Open wanggan768q opened this issue 10 months ago • 6 comments

Question

Image

wanggan768q avatar Jan 22 '26 03:01 wanggan768q

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

  • #9770: Windows 11 system, after installing version 1.1.28, desktop version keeps loading and shows black screen (similar pattern with version update causing startup failure)
  • #8824: The latest desktop version v1.1.23 failed to launch due to 'Unable to connect' error (version update startup failure)
  • #9901: OpenCode not launching in a random folder with .git folder (launch failure)
  • #9577: White screen on launch – OpenCode Desktop (Windows 10) (desktop launch issue)
  • #7612: AppImage Desktop fails to start: opencode-cli not found at hardcoded path (startup failure)

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

github-actions[bot] avatar Jan 22 '26 03:01 github-actions[bot]

+1

lby-1 avatar Jan 22 '26 08:01 lby-1

After launching, the screen is blank and there's no activity (https://ibb.co/0yBVXZtY). Pressing Ctrl+C returns an error, but continues displaying characters on the screen (https://ibb.co/HDdvbyDW)

If you don’t interrupt it, after 5 minutes it displays an error message: PS C:\projects\python\test> opencode { "name": "UnknownError", "data": { "message": "TimeoutError: The operation timed out." } }

npm list -g `-- [email protected]

Windows 11 Pro 25H2 PS C:\projects\python\test> node -v v24.12.0 PS C:\projects\python\test> npm -v 11.6.2

irk2adm avatar Jan 22 '26 15:01 irk2adm

Question

Image

It was found to be caused by the superpowers plugin. Uninstalling this plugin or deleting the file C:\Users\XXXX.config\opencode\plugin\superpowers.js1 will also work.

wanggan768q avatar Jan 23 '26 01:01 wanggan768q

确实如楼上所说,由superpowers插件引起,我成功地解决了这个问题。我的opencode版本是1.1.31

编辑文件~/.config/opencode/plugin/superpowers.js,并将第13 行从import * as skillsCore from '../.. /lib/skills-core.js';修改为:import * as skillsCore from '../superpowers/lib/skills-core.js';保存即可。

lby-1 avatar Jan 23 '26 01:01 lby-1

我是桌面端启动后白屏

wildcatDownstairs avatar Jan 23 '26 10:01 wildcatDownstairs