ChatGPT Edge extension 1.2.30000.30 cannot create chats: path.posix.delimiter is undefined in browser bundle
Summary
The official ChatGPT extension for Microsoft Edge fails whenever it attempts to create a new chat:
Error creating chat
Cannot read properties of undefined (reading 'delimiter')
The failure occurs inside the extension's side-panel bundle before a model request or chat is created.
Environment
- macOS: 26.6.1 (25G76), arm64
- Microsoft Edge: 151.0.4129.86
- ChatGPT desktop app: 26.803.41515 (build 6321)
- ChatGPT Edge extension: 1.2.30000.30
- Extension ID:
odlomjlbamekndcpllcnffbgeohgkmjh - Release channel: stable
- Extension build SHA:
aa37c0f24186acdd6e56fa1a4692272bea220f7f - Side panel:
codex-sidepanel/index.html
Steps to reproduce
- Install and enable ChatGPT extension 1.2.30000.30 from Microsoft Edge Add-ons.
- Connect it to the ChatGPT desktop application.
- Open the ChatGPT side panel on any ordinary webpage.
- Enter any prompt in a new chat.
- Click Send.
Actual behavior
No chat is created. The side panel displays:
Cannot read properties of undefined (reading 'delimiter')
The prompt remains in the composer.
This reproduces independently of the webpage content. It was observed on YouTube, but the page itself is unrelated to the failure.
Expected behavior
The extension should create the chat and process the prompt.
Root cause
The browser bundle contains a stubbed Node path module whose exported value is empty:
pathModule = { default: {} };
The generated runtime-configuration helper nevertheless dereferences Node-specific properties:
function joinPathList(items, platform) {
const delimiter =
platform === "win32"
? pathModule.default.win32.delimiter
: pathModule.default.posix.delimiter;
return items.filter((item) => item.length > 0).join(delimiter);
}
In the browser build, pathModule.default.posix and pathModule.default.win32 are undefined. Reading .delimiter therefore throws.
The call sequence is approximately:
Send prompt
→ create chat
→ construct extension runtime configuration
→ Gy(...)
→ Fy(nodeModuleDirs, platform)
→ pathModule.default.posix.delimiter
→ TypeError
Gy() invokes the delimiter helper whenever a runtime configuration is present. The exception occurs before the downstream configuration builder can reject or omit incomplete Node runtime settings.
Confirmation of diagnosis
A temporary, in-memory compatibility shim supplying:
posix.delimiter = ":"
win32.delimiter = ";"
allowed the same pending prompt to create a chat and complete successfully.
This was used only to validate the diagnosis; modifying Object.prototype is not proposed as a production solution.
The Edge extension update control was also run. Edge reported that extensions were updated, but ChatGPT remained on version 1.2.30000.30, so no fixed store build was available at the time of testing.
Proposed fix
Avoid importing or dereferencing Node's path module in the browser bundle:
function joinPathList(items, platform) {
const delimiter = platform === "win32" ? ";" : ":";
return items.filter((item) => item.length > 0).join(delimiter);
}
Alternatively, provide a browser-safe platform helper that does not depend on Node built-ins.
It may also be worth moving this calculation after validation of nodePath and nodeReplPath, so configuration that will ultimately be omitted cannot fail during eager argument construction.
Suggested regression tests
- Creating a chat with a non-null extension runtime configuration on macOS.
- Creating a chat with a non-null extension runtime configuration on Windows.
- Calling the path-list helper with an empty
nodeModuleDirsarray. - Building the side panel for a browser target where Node's
pathmodule resolves to a stub. - Verifying that chat creation reaches the backend when Node REPL configuration is unavailable or incomplete.
Additional notes
- No credentials, tokens, or private page data are required to reproduce.
- The issue occurs before network/model processing.
- Reinstalling or refreshing the webpage cannot correct the defective generated bundle.
- Searches of the public
openai/codexissue tracker found related browser-extension regressions, but no report matching this exception, extension version, and call path.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Could you assign this to me