No directory provided/Path '//session/...' is not a routable path #8810

Open
opened 2026-02-16 18:10:54 -05:00 by yindo · 2 comments
Owner

Originally created by @tomzx on GitHub (Feb 7, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

I'm trying to start a session in a project and I'm getting the following javascript errors in the console of the web UI.

No directory provided
g @ index-q6fBh1iZ.js:1814
y @ index-q6fBh1iZ.js:1814
handleSubmit @ session-Dc2cmC_Q.js:34Understand this error
index-q6fBh1iZ.js:2 Uncaught (in promise) Error: Path '//session/ses_3c48b53d0ffeMVZNUspsxAFIv9' is not a routable path
    at index-q6fBh1iZ.js:2:36223
    at nt (index-q6fBh1iZ.js:2:4033)
    at N (index-q6fBh1iZ.js:2:35928)
    at index-q6fBh1iZ.js:2:36512
    at HTMLFormElement.handleSubmit (session-Dc2cmC_Q.js:34:32182)

Plugins

None

OpenCode version

1.1.53

Steps to reproduce

  1. Run opencode web --port 10000 --hostname 0.0.0.0
  2. Go on the web UI and create a project
  3. Try to send a message to start a session

Screenshot and/or share link

No response

Operating System

Ubuntu 20.04.6

Terminal

n/a

Originally created by @tomzx on GitHub (Feb 7, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description I'm trying to start a session in a project and I'm getting the following javascript errors in the console of the web UI. ``` No directory provided g @ index-q6fBh1iZ.js:1814 y @ index-q6fBh1iZ.js:1814 handleSubmit @ session-Dc2cmC_Q.js:34Understand this error ``` ``` index-q6fBh1iZ.js:2 Uncaught (in promise) Error: Path '//session/ses_3c48b53d0ffeMVZNUspsxAFIv9' is not a routable path at index-q6fBh1iZ.js:2:36223 at nt (index-q6fBh1iZ.js:2:4033) at N (index-q6fBh1iZ.js:2:35928) at index-q6fBh1iZ.js:2:36512 at HTMLFormElement.handleSubmit (session-Dc2cmC_Q.js:34:32182) ``` ### Plugins None ### OpenCode version 1.1.53 ### Steps to reproduce 1. Run `opencode web --port 10000 --hostname 0.0.0.0` 2. Go on the web UI and create a project 3. Try to send a message to start a session ### Screenshot and/or share link _No response_ ### Operating System Ubuntu 20.04.6 ### Terminal n/a
yindo added the bugweb labels 2026-02-16 18:10:54 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 7, 2026):

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

  • #12627: [WEB-UI] No new session can be started - Same error "No directory provided" when starting a new session in web UI, with workaround of reloading the UI

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

@github-actions[bot] commented on GitHub (Feb 7, 2026): This issue might be a duplicate of existing issues. Please check: - #12627: [WEB-UI] No new session can be started - Same error "No directory provided" when starting a new session in web UI, with workaround of reloading the UI Feel free to ignore if none of these address your specific case.
Author
Owner

@EDMOK commented on GitHub (Feb 7, 2026):

I also encountered this problem. It seems to be related to a path issue, possibly due to incorrect use of "/" and ""? I hope a fix can be provided soon. OpenCode version 1.1.53

@EDMOK commented on GitHub (Feb 7, 2026): I also encountered this problem. It seems to be related to a path issue, possibly due to incorrect use of "/" and "\"? I hope a fix can be provided soon. OpenCode version 1.1.53
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8810