Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Troubleshooting


PowerShell 7 (pwsh.exe) Not Found

Symptom: main.bat reports [ERROR] PowerShell 7 (pwsh.exe) was not found in PATH, or running a .ps1 script directly fails with a version error.

Cause: All entrypoints include #Requires -Version 7.0 and do not support legacy Windows PowerShell 5.1 (powershell.exe).

Fix:

winget install Microsoft.PowerShell

Close and reopen your terminal so pwsh.exe is in PATH.


Todo Tree: Failed to find vscode-ripgrep

Symptom: Todo Tree displays:

Todo-Tree: Failed to find vscode-ripgrep - please install ripgrep manually and set 'todo-tree.ripgrep' to point to the executable

Cause:

  1. Newer VS Code builds moved bundled ripgrep to @vscode/ripgrep-universal, breaking Todo Tree’s built-in lookup.
  2. Todo Tree’s error message is outdated: "todo-tree.ripgrep" is a parent namespace object in its schema, so VS Code ignores a string value there. The actual setting key is "todo-tree.ripgrep.ripgrep".

Fix: Run the dependency check against your portable install:

pwsh -File src\configure.ps1 -Mode CheckDependencies -InstallDependencies

This installs portable ripgrep (rg.exe), adds it to PATH and HKCU\Software\ripgrep, removes any invalid "todo-tree.ripgrep" string key, writes "todo-tree.ripgrep.ripgrep", and takes effect after reloading the VS Code window (Ctrl+Shift+P → Developer: Reload Window).


Newly Added PATH Entries Aren’t Seen in Already-Open Terminals

Cause: Windows processes inherit PATH when launched. Although the manager broadcasts WM_SETTINGCHANGE, already-running terminals and some Explorer-launched processes do not reload PATH until restarted.

Fix:

  • Open a new terminal window (new shells pick up the updated User PATH).
  • For editor extensions (git, ripgrep, clangd, cmake, shellcheck, python), the manager also writes explicit executable paths into data\user-data\User\settings.json so they work immediately without restarting Explorer.

uninstall.ps1 or update.ps1 Reports Locked Files

Cause: An editor window, background extension host, or open terminal is still holding handles inside the installation folder.

Fix: Both update.ps1 and uninstall.ps1 automatically terminate running editor processes strictly inside <InstallDir>\. If external processes (such as a shell whose current directory is inside <InstallDir>) hold a lock, close those shells and re-run the command.


GitHub API Rate Limit (HTTP 403)

Symptom: Installing VSCodium or a GitHub-hosted portable dependency fails with 403 rate limit exceeded.

Cause: Unauthenticated GitHub API requests are limited to 60 requests/hour per IP address.

Fix: Wait for the rate-limit window to reset, or retry later.


Inspecting Verbose Daily Logs

Every action appends complete diagnostics (SESSION START, loaded INI files, HTTP redirects/sizes, registry keys written/deleted, settings merges, stack traces, and SESSION END) to:

logs\<prefix>-YYYY-MM-DD.log

Open the logs folder directly from main.bat (Option 7 — Open Logs Folder). Remember to redact personal usernames/paths before sharing logs publicly.