Skip to Content
SupportTroubleshooting

Troubleshooting

A cross-product symptom → fix table. For product-specific detail, see Chrome → Troubleshooting and VS Code → Troubleshooting.

First, run the doctor

sfdt doctor --extension # checks the bridge, native host, kill-switch file, telemetry sfdt doctor --extension --json

CLI

SymptomLikely cause / fix
sfdt: command not foundGlobal npm bin not on PATH, or you need npm link for a source checkout.
Errors about node:sqliteNode older than 22.15.0. Upgrade Node — see Requirements.
jq: command not found / script errorsInstall jq (1.6+) and ensure bash 4+ (brew install bash jq on macOS).
sf not found / auth errorsInstall and authenticate the Salesforce CLI (sf org login web).
Deploy fails with a wall of errorssfdt explain --latest (AI + heuristics), or open the dashboard’s Explain page.
Config warns about packageDirectoriesA path in sfdx-project.json doesn’t exist on disk — fix the path or create the folder.

Bridge / extensions

SymptomLikely cause / fix
Extension says “Bridge not running”Start sfdt ui in a SFDT-initialized project, then pair the token.
”Bridge returned major version mismatch”The extension and CLI bridge contracts differ at the major version — update both to compatible versions.
A feature is silently disabledCheck the kill switch: sfdt feature-flags list.
Native host not detectedsfdt extension install-host --extension-id <id>, then sfdt extension status.
Token rejectedRe-copy ~/.sfdt/bridge-token into options and Test connection.

VS Code

SymptomLikely cause / fix
”sfdt not found”Set sfdt.cliPath to the binary, or put sfdt on PATH.
Org Health sidebar emptyRun SFDT: Run Org Audit / SFDT: Run Org Monitor to generate snapshots.
Commands target the wrong orgSet a default with SFDT: Set Default Org (sfdt.defaultOrg).
Dashboard won’t openPort in use — change sfdt.dashboardPort, or close a running sfdt ui.

Console logs from the Chrome extension are tagged [SFUT]. Informational lines are expected; red errors indicate a regression worth reporting.

Last updated on