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
{{ message }}
Repository navigation
[FEATURE]:Content related to opencode web needs to be added to the opencode V2 doc #51574
[10:29:27.615] ERROR (#1): Error: ENOENT: no such file or directory, chdir '/home/lingh' -> 'web'
at chdir (unknown)
at <anonymous> (src/commands/handlers/default.ts:17:51)
changed the title [-]Content related to `opencode web` needs to be added to the `opencode` V2 doc[/-][+][FEATURE]:Content related to `opencode web` needs to be added to the `opencode` V2 doc[/+]on Sep 27, 2026
You're asking for the v2 docs to cover running the web interface, the way v1's web page does.
The error comes from how the v2 CLI reads its arguments. v2 has no web subcommand. The first argument to opencode is treated as a directory to open, so opencode web tries to change into a folder called web and fails with ENOENT. The closest command in v2 is opencode serve, which starts the v2 API and web server (options: --hostname, --port, --cors).
Maintainers will consider adding v2 docs for this, and possibly a clearer error or a web command.
Activity
[-]Content related to `opencode web` needs to be added to the `opencode` V2 doc[/-][+][FEATURE]:Content related to `opencode web` needs to be added to the `opencode` V2 doc[/+]github-actions commentedon Sep 27, 2026
Thanks for updating the issue!
opencodejr commentedon Oct 28, 2026
Thanks for the request, @linghengqian, and for following up on #39140.
You're asking for the v2 docs to cover running the web interface, the way v1's web page does.
The error comes from how the v2 CLI reads its arguments. v2 has no
websubcommand. The first argument toopencodeis treated as a directory to open, soopencode webtries to change into a folder calledweband fails withENOENT. The closest command in v2 isopencode serve, which starts the v2 API and web server (options:--hostname,--port,--cors).Maintainers will consider adding v2 docs for this, and possibly a clearer error or a
webcommand.Related:
opencode2 webneeds to be added to theopencode2doc #39140: your earlier request for the same docs (asopencode2 web), closed automatically for inactivity