codex icon indicating copy to clipboard operation
codex copied to clipboard

VS Code Extension doesn't load

Open Mac-V-Sog opened this issue 1 year ago • 14 comments

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.

Image

What is the expected behavior?

That the extension loads

What do you see instead?

A blank screen

Additional information

No response

Mac-V-Sog avatar Sep 17 '25 16:09 Mac-V-Sog

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

That did the trick for me.

Image

iamhectorlopez avatar Sep 17 '25 17:09 iamhectorlopez

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.

iharc-jordan avatar Sep 17 '25 18:09 iharc-jordan

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

dylan-hurd-oai avatar Sep 17 '25 21:09 dylan-hurd-oai

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

wbdb avatar Sep 17 '25 22:09 wbdb

几个问题! @iamhectorlopez你在哪个版本?

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

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

leecyno1 avatar Sep 18 '25 00:09 leecyno1

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

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

leecyno1 avatar Sep 18 '25 00:09 leecyno1

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

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

~/.codex/config.toml

jiuyaopinyin avatar Sep 18 '25 02:09 jiuyaopinyin

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

~/.codex/config.toml

jiuyaopinyin avatar Sep 18 '25 02:09 jiuyaopinyin

@dylan-hurd-oai

Codex version: 0.4.10 in Cursor

iamhectorlopez avatar Sep 18 '25 18:09 iamhectorlopez

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 avatar Sep 20 '25 08:09 Mac-V-Sog

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.

Mac-V-Sog avatar Sep 20 '25 09:09 Mac-V-Sog

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 😭😭😭

0xstellarisx0 avatar Sep 22 '25 14:09 0xstellarisx0

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.

etraut-openai avatar Nov 11 '25 04:11 etraut-openai

我遇到这个问题,是因为我原本在vscode里用着codex,然后codex干活的时候帮我打开了客户端的codex,客户端的codex开始运行任务,然后我回到vscode准备干新的活的时候,vscode端的codex就出现Codex could not start The extension couldn't load its resources.

OrangeScript avatar Aug 07 '26 13:08 OrangeScript