Codex VS Code extension not working with code-server: "navigator is now a global in nodejs" error

Resolved 💬 2 comments Opened Feb 3, 2026 by kunxiang Closed Feb 3, 2026

What version of the VS Code extension are you using?

2.1.17

What subscription do you have?

Pro

Which IDE are you using?

Code Server

What platform is your computer?

inux 6.8.0-94-generic x86_64 x86_64

What issue are you seeing?

## Description

The Codex VS Code extension (openai.chatgpt) fails to load in code-server environment. The extension panel shows blank/empty content and throws a PendingMigrationError related to the navigator global.

## Environment

  • code-server version: 4.108.2 (VS Code 1.108.2)
  • Extension version: 0.5.69
  • Node.js version: v24.13.0
  • OS: Ubuntu 24.04.3 LTS
  • Browser: Chrome 144

## Error Log

ERR navigator is now a global in nodejs, please see https://aka.ms/vscode-extensions/navigator for additional info on this error.: PendingMigrationError: navigator is now a global in nodejs, please see
https://aka.ms/vscode-extensions/navigator for additional info on this error.
at get (file:///usr/lib/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:405:6684)
at /home/dev/.local/share/code-server/extensions/openai.chatgpt-0.5.69-universal/out/extension.js:1:15037
at get value (/home/dev/.local/share/code-server/extensions/openai.chatgpt-0.5.69-universal/out/extension.js:1:8165)
...

Additional console errors:

  • [Statsig] useGateValue hook failed to find a valid StatsigClient for gate 'codex-app-mini-window'
  • CSP violations blocking fonts

## Steps to Reproduce

  1. Install code-server 4.108.2
  2. Install Codex extension from marketplace
  3. Open the Codex panel
  4. Panel shows blank/empty content

## Expected Behavior

The Codex extension should load and display the chat interface properly.

## Additional Context

This appears to be a compatibility issue with the newer Node.js navigator global. The extension seems to be using a pattern that is no longer compatible with the current VS Code/Node.js runtime in code-server.

Reference: https://aka.ms/vscode-extensions/navigator

What steps can reproduce the bug?

  1. Install code-server (version 4.108.2)
  2. Install the Codex extension (openai.chatgpt) from the VS Code marketplace
  3. Open the Codex panel in the sidebar
  4. Observe that the panel is blank/empty with no content displayed

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗