VS Code Extension doesn't load

Resolved 💬 13 comments Opened Sep 17, 2025 by Mac-V-Sog Closed Nov 11, 2025
💡 Likely answer: A maintainer (dylan-hurd-oai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.5.11

Which model were you using?

_No response_

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What steps can reproduce the bug?

The VS Code extension worked when I first installed it, both the public and pre-release versions.

However as of a few days ago, the extension is unable to load. I have re-installed to no avail, restarted the application several times. See screenshot below.

<img width="1022" height="483" alt="Image" src="https://github.com/user-attachments/assets/8fb68f73-79a2-4189-8551-1cc69ecd8dcf" />

What is the expected behavior?

That the extension loads

What do you see instead?

A blank screen

Additional information

_No response_

View original on GitHub ↗

13 Comments

iamhectorlopez · 10 months ago

Had the same issue. What worked for me was:
Disabling it.
Restarting extension.
Restarting the IDE.

That did the trick for me.

<img width="989" height="245" alt="Image" src="https://github.com/user-attachments/assets/6822658b-b5f3-4632-993b-457cf058de40" />

iharc-jordan · 10 months ago

This also happened to me. Try launching the cli version instead; it should give you a specific error that prevents launch. Mine turned out to be a config issue preventing codex from launching.

dylan-hurd-oai contributor · 10 months ago

Couple Questions!
@iamhectorlopez which version were you on?

@Mac-V-Sog can you confirm whether @iharc-jordan's issue impacted you as well? We should fix this but would like to find the root cause, especially if you can repro on 0.4.10

wbdb · 10 months ago

Have you tried deleting config.toml (if there is an error in the syntax, it will not load) or auth.json?

leecyno1 · 10 months ago
几个问题! @iamhectorlopez你在哪个版本? @Mac-V-Sog你能确认一下是否@iharc-jordan的问题也影响了你吗?我们应该解决这个问题,但想找到根本原因,特别是如果你能在0.4.10上重复

现在是在最新版上也存在这个问题(0.5.11)

leecyno1 · 10 months ago
您是否尝试过删除config.toml(如果语法有错误,它将无法加载)或auth.json?

可以问一下,这两个文件是在哪个路径下吗?

jiuyaopinyin · 10 months ago
> 您是否尝试过删除config.toml(如果语法有错误,它将无法加载)或auth.json? 可以问一下,这两个文件是在哪个路径下吗?

~/.codex/config.toml

jiuyaopinyin · 10 months ago

I have the same problem, it works fine after I cleared the config

~/.codex/config.toml

iamhectorlopez · 10 months ago

@dylan-hurd-oai

Codex version: 0.4.10
in Cursor

Mac-V-Sog · 10 months ago
This also happened to me. Try launching the cli version instead; it should give you a specific error that prevents launch. Mine turned out to be a config issue preventing codex from launching.

I tried installing the CLI and was getting some errors and I put it down to the fact I'm not running WSL or Linux. I am running Windows 11.

Mac-V-Sog · 10 months ago
I have the same problem, it works fine after I cleared the config ~/.codex/config.toml

@dylan-hurd-oai

The above solution worked for me. See my previous comment re the CLI.

0xstellarisx0 · 10 months ago

After spending hours meddling with forces I don't understand, and even clearing the config in vain, I tried clicking this option in the settings on a whim:

Chatgpt: Open On Startup

And lo and behold, when I restarted VS Code, it worked 😭😭😭

etraut-openai contributor · 8 months ago

There were a number of issues discussed above, and it sounds like most or all have been addressed. I'm going to close the issue. If you're still seeing this problem with the latest version of the codex VS Code Extension, please open a new issue with details.