OpenAI ChatGPT extension fails in WSL after VS Code 1.126.0 update with PendingMigrationError: navigator is now a global in nodejs
What version of the IDE extension are you using?
26.623.70822
What subscription do you have?
Enterprise Gov
Which IDE are you using?
VS Code
What platform is your computer?
Windows 11
What issue are you seeing?
The ChatGPT extension stopped working suddenly after previously working for months in a WSL workspace.
The ChatGPT sidebar opens, but every conversation displays:
- Unable to load message
- Loading...
Changing models fails with:
- Couldn't update model settings
ChatGPT works normally in the browser using the same account.
What steps can reproduce the bug?
I open the Codex agent and enter any prompt.
The Remote Extension Host logs contain:
PendingMigrationError: navigator is now a global in nodejs
at get (...extensionHostProcess.js...)
at /home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:...
After that, the extension repeatedly logs:
Request failed
method=config/read
failed to read configuration layers:
timed out waiting for cloud config bundle after 15s
What I tried
- Signed out and back into the extension.
- Uninstalled and reinstalled the ChatGPT extension.
- Verified the extension installation (package.json exists).
- Removed extension state and logs.
- Rebuilt the WSL VS Code Server.
- Confirmed network connectivity from WSL (curl to OpenAI/ChatGPT succeeds).
- Confirmed ChatGPT works normally in the browser.
- Tried enabling:
``json``
"extensions.supportNodeGlobalNavigator": true
with no change.
What is the expected behavior?
The ChatGPT sidebar should load conversations and allow model selection.
Additional information
The issue began suddenly without any intentional configuration changes. The timing suggests it may be related to a recent VS Code / WSL extension-host runtime update.
2026-06-30 07:43:04.672 [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:///home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/out/vs/workbench/api/node/extensionHostProcess.js:852:7288)
at /home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:1:10389
at get value (/home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:1:3497)
at /home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:21:145
at $ZodObjectJIT.n (/home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:1:904)
at /home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:23:19492
at n (/home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:1:904)
at new ZodObject (/home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:1:1146)
at Object.ee (/home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:23:9547)
at /home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:23:28466
at /home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:1:230
at /home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:84:29437
at /home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:1:230
at Object.<anonymous> (/home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js:576:39242)
at Module._compile (node:internal/modules/cjs/loader:1830:14)
at Object..js (node:internal/modules/cjs/loader:1961:10)
at Module.load (node:internal/modules/cjs/loader:1553:32)
at Module.<anonymous> (node:internal/modules/cjs/loader:1355:12)
at i._load (file:///home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/out/vs/workbench/api/node/extensionHostProcess.js:852:6667)
at n._load (file:///home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/out/vs/workbench/api/node/extensionHostProcess.js:683:28855)
at n._load (file:///home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/out/vs/workbench/api/node/extensionHostProcess.js:675:25845)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.require (node:internal/modules/cjs/loader:1576:12)
at require (node:internal/modules/helpers:153:16)
at _P._doLoadModule (file:///home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/out/vs/workbench/api/node/extensionHostProcess.js:686:1487)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
2026-06-30 07:43:05.730 [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:///home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/out/vs/workbench/api/node/extensionHostProcess.js:852:7288)
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:281:47508
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:1:327
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:281:51162
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:1:327
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:281:55194
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:1:327
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:281:56761
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:1:327
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:281:58951
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:1:327
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:290:2608
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:1:327
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:291:2671
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:1:327
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:291:9347
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:1:327
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:293:21450
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:1:327
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:293:25522
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:1:327
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:293:27025
at /home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:1:327
at Object.<anonymous> (/home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/extensions/copilot/dist/extension.js:2399:1178)
at Module._compile (node:internal/modules/cjs/loader:1830:14)
at Object..js (node:internal/modules/cjs/loader:1961:10)
at Module.load (node:internal/modules/cjs/loader:1553:32)
at Module.<anonymous> (node:internal/modules/cjs/loader:1355:12)
at i._load (file:///home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/out/vs/workbench/api/node/extensionHostProcess.js:852:6667)
at n._load (file:///home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/out/vs/workbench/api/node/extensionHostProcess.js:683:28855)
at n._load (file:///home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/out/vs/workbench/api/node/extensionHostProcess.js:675:25845)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.<anonymous> (node:internal/modules/cjs/loader:1576:12)
at require (node:internal/modules/helpers:153:16)
at _P._doLoadModule (file:///home/philt/.vscode-server/bin/7e7950df89d055b5a378379db9ee14290772148a/out/vs/workbench/api/node/extensionHostProcess.js:686:1487)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
- The startup failure:
PendingMigrationError: navigator is now a global in nodejs.../home/philt/.vscode-server/extensions/openai.chatgpt-26.623.70822-linux-x64/out/extension.js
- The follow-on error:
Request failedmethod=config/readfailed to read configuration layers:timed out waiting for cloud config bundle after 15s
This is WSL Remote:
- Windows 11
- VS Code 1.126.0 (Stable)
- WSL Ubuntu
- Remote Extension Host
- ChatGPT extension 26.623.70822
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗