Skip to content

[Bug] Nightly build crashes with "PendingMigrationError: navigator is now a global in nodejs" #6356

@hishtadlut

Description

@hishtadlut

App Version

nightly-0.0.6379

API Provider

Not Applicable / Other

Model Used

N/A

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

  1. Install the latest version of rooveterinaryinc.roo-code-nightly.
  2. Open VS Code and wait for the extension to activate.
  3. The extension host will eventually crash and VS Code will report that the extension has stopped working.

💥 Outcome Summary

The nightly version of the Roo Code extension (rooveterinaryinc.roo-code-nightly) is consistently crashing the extension host in VS Code. This seems to be caused by an incompatibility with recent versions of the VS Code runtime.

Error:

The specific error is PendingMigrationError: navigator is now a global in nodejs. This indicates that the extension or one of its dependencies is attempting to use the navigator variable name, which is now a reserved global in the Node.js version used by VS Code.

More information on this breaking change is available in the official VS Code documentation: https://aka.ms/vscode-extensions/navigator

Environment:

  • Extension Version: rooveterinaryinc.roo-code-nightly-0.0.6379
  • VS Code Server Version: Stable-c306e94f98122556ca081f527b466015e1bc37b0
  • OS: Linux (running in a remote server context)

The stack trace points to dependencies like mammoth@1.9.0 and bluebird@3.4.7, which may need to be updated or patched to resolve this conflict.

Thank you!

📄 Relevant Logs or Errors (Optional)

2025-07-29 15:04:26.827 [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:///root/.vscode-server/cli/servers/Stable-c306e94f98122556ca081f527b466015e1bc37b0/server/out/vs/workbench/api/node/extensionHostProcess.js:356:6146)
    at ../../node_modules/.pnpm/bluebird@3.4.7/node_modules/bluebird/js/release/util.js (/root/.vscode-server/extensions/rooveterinaryinc.roo-code-nightly-0.0.6379/dist/extension.js:305983:23)
    at __require (/root/.vscode-server/extensions/rooveterinaryinc.roo-code-nightly-0.0.6379/dist/extension.js:17:53)
    at module2.exports (/root/.vscode-server/extensions/rooveterinaryinc.roo-code-nightly-0.0.6379/dist/extension.js:310294:19)
    at ../../node_modules/.pnpm/mammoth@1.9.0/node_modules/mammoth/lib/promises.js (/root/.vscode-server/extensions/rooveterinaryinc.roo-code-nightly-0.0.6379/dist/extension.js:310963:37)
    at __require (/root/.vscode-server/extensions/rooveterinaryinc.roo-code-nightly-0.0.6379/dist/extension.js:17:53)
    at ../../node_modules/.pnpm/mammoth@1.9.0/node_modules/mammoth/lib/docx/docx-reader.js (/root/.vscode-server/extensions/rooveterinaryinc.roo-code-nightly-0.0.6379/dist/extension.js:330665:21)
    at __require (/root/.vscode-server/extensions/rooveterinaryinc.roo-code-nightly-0.0.6379/dist/extension.js:17:53)
    at ../../node_modules/.pnpm/mammoth@1.9.0/node_modules/mammoth/lib/index.js (/root/.vscode-server/extensions/rooveterinaryinc.roo-code-nightly-0.0.6379/dist/extension.js:333428:22)
    at __require (/root/.vscode-server/extensions/rooveterinaryinc.roo-code-nightly-0.0.6379/dist/extension.js:17:53)
    at Object.<anonymous> (/root/.vscode-server/extensions/rooveterinaryinc.roo-code-nightly-0.0.6379/dist/extension.js:633759:31)
    at Module._compile (node:internal/modules/cjs/loader:1730:14)
    at Object..js (node:internal/modules/cjs/loader:1895:10)
    at Module.load (node:internal/modules/cjs/loader:1465:32)
    at Function.<anonymous> (node:internal/modules/cjs/loader:1282:12)
    at e._load (file:///root/.vscode-server/cli/servers/Stable-c306e94f98122556ca081f527b466015e1bc37b0/server/out/vs/workbench/api/node/extensionHostProcess.js:356:5519)
    at t._load (file:///root/.vscode-server/cli/servers/Stable-c306e94f98122556ca081f527b466015e1bc37b0/server/out/vs/workbench/api/node/extensionHostProcess.js:174:22697)
    at r._load (file:///root/.vscode-server/cli/servers/Stable-c306e94f98122556ca081f527b466015e1bc37b0/server/out/vs/workbench/api/node/extensionHostProcess.js:166:25633)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
    at Module.require (node:internal/modules/cjs/loader:1487:12)
    at require (node:internal/modules/helpers:135:16)
    at QG.Cb (file:///root/.vscode-server/cli/servers/Stable-c306e94f98122556ca081f527b466015e1bc37b0/server/out/vs/workbench/api/node/extensionHostProcess.js:205:1253)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions