Skip to content

Cannot find package 'jose' #7949

Closed as not planned
Closed as not planned

Description

@moymat

Description

Hi !
Since the last update (1.1.14), I get a blank terminal when I open OpenCode. The logs have this lines :

ERROR 2026-01-12T08:32:55 +808ms service=default e={"name":"ResolveMessage","position":null,"message":"Cannot find package 'jose' from '/home/moymat/.cache/opencode/node_modules/@openauthjs/openauth/dist/esm/pkce.js'","level":"error","specifier":"jose","importKind":"import-statement","referrer":"/home/moymat/.cache/opencode/node_modules/@openauthjs/openauth/dist/esm/pkce.js"} exception

When I try to re-login, I get this after selecting the provider :

❯ opencode auth login

┌  Add credential
│
◇  Select provider
│  OpenCode Zen
Error: Unexpected error, check log file at /home/moymat/.local/share/opencode/log/2026-01-12T084558.log for more details

error: Cannot find package 'jose' from '/home/moymat/.cache/opencode/node_modules/@openauthjs/openauth/dist/esm/pkce.js'

Downgrading to v1.1.13 fixes it.

Plugins

None

OpenCode version

1.1.14

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Fedora

Terminal

Ghostty

Activity

  1. github-actions commented on Jan 12, 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.

  2. moymat commented on Jan 12, 2026

    @moymat
    Author

    After downgrading it to v1.1.13 (npm i -g opencode-ai@1.1.13) then back to the latest one (npm i -g opencode-ai@latest), the issue has gone away.

  3. added 2 commits that reference this issue on Feb 6, 2026
  4. thdxr commented on Mar 25, 2026

    @thdxr
    Member

    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 working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions