forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Auth login errors out with all login providers.
OpenCode version
0.0.0-chat-202512081414
Steps to reproduce
opencode-chat auth login
┌ Add credential
│
◇ Select provider
│ OpenCode Zen
Error: Unexpected error, check log file at C:\Users\user1\.local\share\opencode\log\2026-01-01T184651.log for more details
error: Cannot find module '@openauthjs/openauth/pkce' from 'C:\Users\user1\.cache\opencode\node_modules\opencode-anthropic-auth\index.mjs'
2026-01-01T184651.log:
INFO 2026-01-01T18:46:51 +229ms service=default version=0.0.0-chat-202512081414 args=["auth","login"] opencode
INFO 2026-01-01T18:46:51 +0ms service=default directory=C:\Users\user1 creating instance
INFO 2026-01-01T18:46:51 +1ms service=project directory=C:\Users\user1 fromDirectory
INFO 2026-01-01T18:46:51 +5ms service=models.dev file={} refreshing
INFO 2026-01-01T18:46:51 +94ms service=config path=C:\Users\user1\.config\opencode\config.json loading
INFO 2026-01-01T18:46:51 +0ms service=config path=C:\Users\user1\.config\opencode\opencode.json loading
INFO 2026-01-01T18:46:51 +7ms service=config path=C:\Users\user1\.config\opencode\opencode.jsonc loading
INFO 2026-01-01T18:46:51 +3ms service=bun cmd=["C:\\utils\\opencode-chat.exe","add","@opencode-ai/[email protected]","--exact"] cwd=C:\Users\user1\.config\opencode running
INFO 2026-01-01T18:46:51 +184ms service=bun code=1 stdout=bun add v1.3.4 (5eb2145b)
stderr=Resolving dependencies
Resolved, downloaded and extracted [2]
error: No version matching "0.0.0-chat-202512081414" found for specifier "@opencode-ai/plugin" (but package exists)
error: @opencode-ai/[email protected] failed to resolve
done
INFO 2026-01-01T18:46:51 +3ms service=models.dev file={} refreshing
INFO 2026-01-01T18:46:53 +2589ms service=plugin [email protected] loading plugin
INFO 2026-01-01T18:46:53 +3ms service=plugin [email protected] loading plugin
ERROR 2026-01-01T18:46:53 +8ms service=default name=ResolveMessage message=Cannot find module '@openauthjs/openauth/pkce' from 'C:\Users\user1\.cache\opencode\node_modules\opencode-anthropic-auth\index.mjs' code=ERR_MODULE_NOT_FOUND specifier=@openauthjs/openauth/pkce referrer=C:\Users\user1\.cache\opencode\node_modules\opencode-anthropic-auth\index.mjs importKind=import-statement fatal
Original opencode auth login works perfectly, however.
Thanks a lot and
Happy New Year!
Screenshot and/or share link
No response
Operating System
windows 11
Terminal
wez's
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working