Hi team,
After updated cursor version today, I’m currently experiencing an issue where Codex in Cursor fails to start and shows the error:
Codex app-server process exited with code 127 and signal null (/bin/sh: /usr/bin/bash: not found).
Could you please look into this?
It happens every time I try to use Codex, even after reloading and checking my config.
Thanks for your help!
Steps to Reproduce
Open Cursor IDE.
Try to start or use Codex (e.g., by pressing Ctrl + L or opening the Codex panel).
Codex fails to load and displays an error: Codex app-server process exited with code 127 and signal null.
The error message shows /bin/sh: /usr/bin/bash: not found.
Reloading or checking config.toml does not resolve the issue.
It just solved by myself for over 10 hours.
However, if I had to offer one suggestion to the Cursor team, it would be that time is of the essence for developers. I hope the Cursor team will always be there for users when they face difficulties, so they can always feel reassured, no matter what.
Hey, I get your frustration, but Cursor isn’t responsible for Codex extension. Codex is created by OpenAI which is entirely separate. Cursor simply allows you to install such extension in the IDE and use it, but that’s about it.
There’s really a lot of extensions and Cursor isn’t specifically managing those, its independent. So any bugs related to extensions, should be directly reported to the creators of the extension.
Then run codex in wsl and run without wsl again.
Finally it worked well now.
I’m not sure the above my experience is real solution for this bug, but I would like to this is helpful for you.
If you have any question, feel free to ask me anytime.
I encountered the same issue. After installing Ubuntu, I was able to run Codex in the terminal, but even after downgrading Cursor and installing the WSL extension, the same error still occurs. Did downgrading Cursor allow you to open the Codex extension and have it work normally again?
Thanks a lot, finally after I deleted the home/.codex folder under Ubuntu again, when I reopened the extension it worked normally, and later it could also be used normally without WSL, using Codex on Cursor.