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
All of these involve BunInstallFailedError occurring when trying to install plugins in network-restricted environments (corporate proxies, firewalls, etc.). The core issue appears to be that OpenCode cannot properly download and install the opencode-copilot-auth plugin due to network/certificate restrictions.
Feel free to ignore if your specific case differs from these existing reports.
This works but it errors out with externel plugins as well. Meaning using OPENCODE_DISABLE_DEFAULT_PLUGINS=1 opencode with the following configuration snippet will still cause it to fail.
admin@dev6:~$ OPENCODE_DISABLE_DEFAULT_PLUGINS=1 opencode
ERROR 2026-01-28T18:41:44 +435ms service=models.dev error=Unable to connect. Is the computer able to access the url? Failed to fetch models.dev
{
"name": "BunInstallFailedError",
"data": {
"pkg": "@aws-sdk/credential-providers",
"version": "latest"
}
}
In case it is helpful for anyone, as I've seen there are many duplicates of this issue. I was unable to run opencode off a fresh install on my work computer, but on my personal computer, I had no problems.
Activity
github-actions commentedon Dec 8, 2025
This issue might be a duplicate of existing issues. Please check:
All of these involve BunInstallFailedError occurring when trying to install plugins in network-restricted environments (corporate proxies, firewalls, etc.). The core issue appears to be that OpenCode cannot properly download and install the
opencode-copilot-authplugin due to network/certificate restrictions.Feel free to ignore if your specific case differs from these existing reports.
rekram1-node commentedon Dec 8, 2025
@chouzz set:
OPENCODE_DISABLE_DEFAULT_PLUGINS=trueand then try againTako-San commentedon Dec 8, 2025
Hi, @rekram1-node! I have same issue. Could you clarify how should I set
OPENCODE_DISABLE_DEFAULT_PLUGINS=false? As env variable?daliusd commentedon Dec 8, 2025
This does not help:
adanperez commentedon Dec 8, 2025
You will want
OPENCODE_DISABLE_DEFAULT_PLUGINS=1 opencodesimilar issue here #3426
rekram1-node commentedon Dec 8, 2025
Whoops I meant to say true (1 works too ofc)
rekram1-node commentedon Dec 8, 2025
I was tired my bad
chouzz commentedon Dec 9, 2025
Works good for me.
PatNei commentedon Dec 10, 2025
This works but it errors out with externel plugins as well. Meaning using
OPENCODE_DISABLE_DEFAULT_PLUGINS=1 opencodewith the following configuration snippet will still cause it to fail.Removing the plugins fixes it but then you loose access to the plugins.
daliusd commentedon Dec 10, 2025
Upgrading to newer OpenCode versions solved the problem for me. Note: in my case it was not fresh install
PatNei commentedon Dec 10, 2025
I see, I tried updating to version
1.0.143. Still having the issue.UPDATE: I could fix it by removing a root level
.npmrcfile.Longer explanation:
Tried bun add --force --exact --cwd ~/.cache/opencode opencode-copilot-auth@0.0.9, which gave me
$ bun add --force --exact --cwd ~/.cache/opencode opencode-copilot-auth@0.0.9 bun add v1.3.2 (b131639c) error: ConnectionRefused downloading package manifest opencode-copilot-authWhich led me to a similar issue here:
oven-sh/bun#4988 (comment)
I didn't try the IPV6 fix but it might also help :)
kungege commentedon Dec 22, 2025
I have same issue
rekram1-node commentedon Dec 22, 2025
@kungege can u tell me more?
kungege commentedon Dec 23, 2025
@rekram1-node Just as the issue raiser described.
rekram1-node commentedon Dec 23, 2025
@kungege have you tried setting that env var i mentioned?
bbartels commentedon Jan 28, 2026
@rekram1-node Running into this now:
eleqtrizit commentedon Jan 30, 2026
I'm getting the same error all of a sudden. Was literally working 5 minutes ago.
Tried:
eleqtrizit commentedon Jan 30, 2026
It's an oh-my-opencode problem. OpenCode needs a way to handle this gracefully and let us continue if a plugin becomes busted.
rekram1-node commentedon Jan 30, 2026
yeah
electroheadfx commentedon Jan 30, 2026
I too upgraded and now opencode always not work, no error, just white page.
I have too oh-my-zsh, do you how fix it Guys ?
eleqtrizit commentedon Jan 30, 2026
I posted a fix/workaround in this thread
code-yeongyu/oh-my-openagent#1294
ryanjwessel commentedon Feb 9, 2026
In case it is helpful for anyone, as I've seen there are many duplicates of this issue. I was unable to run
opencodeoff a fresh install on my work computer, but on my personal computer, I had no problems.One of the suggestions in this thread was to remove the root-level
~/.npmrcfile. I can confirm that it resolved the issue for me. I had a value set forregistryin that file, which appears to have caused the problem.github-actions commentedon Apr 11, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.