Skip to content

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

Closed as duplicate

Description

@kunxiang

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

Activity

  1. added
    extension
    on Feb 3, 2026
  2. added
    bug
    on Feb 3, 2026
  3. github-actions commented on Feb 3, 2026

    @github-actions
    Contributor
  4. etraut-openai commented on Feb 3, 2026

    @etraut-openai
    Contributor

    Duplicate of #10421

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions