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 }}
This repository was archived by the owner on Feb 28, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 28, 2026. It is now read-only.
[Bug]: Cannot find module '@opencode-ai/plugin' from '.../opencode-google-antigravity-auth/src/plugin.ts' code=ERR_MODULE_NOT_FOUND #5
changed the title [-][Bug]:[/-][+][Bug]: Cannot find module '@opencode-ai/plugin' from '.../opencode-google-antigravity-auth/src/plugin.ts' code=ERR_MODULE_NOT_FOUND [/+]on Dec 17, 2025
I don't get an error when running opencode server listening on http://127.0.0.1:4096 but the 'OAuth with Google (Antigravity)' provider doesn't appear on the list. And after running opencode . and quitting, I got this, but only one time.
I don't get an error when running opencode server listening on http://127.0.0.1:4096 but the 'OAuth with Google (Antigravity)' provider doesn't appear on the list. And after running opencode . and quitting, I got this, but only one time.
Could you try to share more logs? run the opencode serve --log-level DEBUG --port 4096 --print-logs command and the curl command to trigger full opencode reload and see if it works. please clean the download cache first:
Activity
[-][Bug]:[/-][+][Bug]: Cannot find module '@opencode-ai/plugin' from '.../opencode-google-antigravity-auth/src/plugin.ts' code=ERR_MODULE_NOT_FOUND [/+]shekohex commentedon Dec 17, 2025
I will investigate this issue.
shekohex commentedon Dec 17, 2025
just tried it on a fresh install on an Ubuntu box, no issues. Could you please clear the cache:
then update the config and use
[email protected]then start opencode again like the following:
and hit it with a curl request in another terminal tab:
And watch the logs, attach it here if you still face the same issue.
esatgundogdu commentedon Dec 17, 2025
same on Mac
installed [email protected]
26 packages installed [560.00ms]
stderr=Resolving dependencies
Resolved, downloaded and extracted [16]
Saved lockfile
done
error: Cannot find module '@opencode-ai/plugin' from '/Users/esatgundogdu/.cache/opencode/node_modules/opencode-google-antigravity-auth/src/plugin.ts'
GET - http://127.0.0.1:4096/ failed
strotgen commentedon Dec 17, 2025
I am on Tahoe 26.1 (25B78) and I am facing the same issue. Tried the suggestions but still failing the same issue:
shekohex commentedon Dec 17, 2025
@strotgen @esatgundogdu could you try
0.2.6? and see if that fixes the issue for you?strotgen commentedon Dec 17, 2025
I don't get an error when running
opencode server listening on http://127.0.0.1:4096but the 'OAuth with Google (Antigravity)' provider doesn't appear on the list. And after runningopencode .and quitting, I got this, but only one time.{ "name": "BunInstallFailedError", "data": { "pkg": "opencode-google-antigravity-auth", "version": "latest" } }shekohex commentedon Dec 18, 2025
Could you try to share more logs? run the
opencode serve --log-level DEBUG --port 4096 --print-logscommand and the curl command to trigger full opencode reload and see if it works. please clean the download cache first:itzrnvr commentedon Dec 18, 2025
I keep getting provider init error
edit:
nvm doing rm -rf ~/.local/share/opencode worked. Thanks.
strotgen commentedon Dec 18, 2025
Using
rm -rf ~/.local/share/opencodealso did the trick. Thanks for the help!shekohex commentedon Dec 19, 2025
Okay, closing this issue as completed.