-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Problem (one or two sentences)
The Roo Code extension (v3.38.0) fails to initialize on code-server v4.105.0 (VS Code v1.105.0) in an air-gapped RHEL 9.6 environment. The extension host crashes due to the new navigator global in Node.js 22+, and the UI (Settings button, chat) becomes completely unresponsive.
Context (who is affected and when)
Observed Error Logs (Browser Console)
The primary error causing the Extension Host to hang/crash:
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
at get (file:///usr/local/code-server/lib/vscode/out/vs/workbench/api/node/extensionHostProcess.js:393:6610)
at .../rooveterinaryinc.roo-cline-3.38.0/dist/extension.js:115:408
Followed by network timeouts due to the offline environment:
{
"code": "ETIMEDOUT",
"message": "Error fetching OpenRouter models",
"stack": "AggregateError: Error\n at qne.from (.../dist/extension.js:170:14695)..."
}
Additional Context
- Offline Issue: In an air-gapped environment, the extension seems to hang while attempting to fetch model lists (OpenRouter/Anthropic) during the initial load, with no way to enter Settings to switch to a local provider (like Ollama) because the UI is already frozen by the
navigatorerror. - Compatibility: The same setup works fine on VS Code Desktop (Windows/macOS), but fails on
code-serverdue to the specific way the Extension Host handles thenavigatorglobal in Node.js 22.
Reproduction steps
Environment
Operating System: RHEL 9.6 (Plow)
code-server version: 4.105.0 (VS Code v1.105.0)
Roo Code version: 3.38.0
Deployment: Bare-metal / Direct install
Network Status: Strictly Offline / Air-gapped (No internet access)
Steps to Reproduce
Install code-server 4.105.0 on an offline RHEL 9.6 server.
Sideload Roo Code 3.38.0 via VSIX.
Access via browser (ensuring isSecureContext is true).
The "Welcome to Roo Code" screen appears, but all buttons (Settings, etc.) are dead.
Expected result
run well
Actual result
the UI (Settings button, chat) becomes completely unresponsive
Variations tried (optional)
No response
App Version
3.38.0
API Provider (optional)
None
Model Used (optional)
No response
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status