Skip to content

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

Closed

Description

@tomzx

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

Activity

  1. added
    bugSomething isn't working
    on Feb 8, 2026
  2. github-actions commented on Feb 8, 2026

    @github-actions
    Contributor

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

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

  3. EDMOK commented on Feb 8, 2026

    @EDMOK

    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

  4. github-actions commented on Apr 10, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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 workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions