thedotmack/claude-mem · warning

No supported IDEs detected — pick the one(s) you plan to…

Error message

No supported IDEs detected — pick the one(s) you plan to use.

What it means

During `npx claude-mem install`, the installer scans the machine for supported IDEs (Claude Code, etc.). If none of the known IDEs report as detected, promptForIDESelection logs this warning before still showing the full IDE selection list, so the user can pick the one(s) they intend to use rather than aborting.

Solutions

  1. Install Claude Code (or your target IDE) first, then rerun the installer so it is detected.
  2. Proceed with the interactive prompt and manually select the IDE(s) you plan to use — the warning is advisory, not fatal.
  3. If the IDE is installed at a non-standard location, ensure its config/binary path matches what the detector expects (e.g. default ~/.claude).
Defensive patterns

Strategy: validation

Validate before calling

const detected = detectedIDEs.filter((ide) => ide.detected);
if (detected.length === 0) {
  console.warn('No supported IDEs detected; the installer will ask you to pick manually.');
}

Prevention

When it happens

Trigger: Running `npx claude-mem install` on a machine where `detectedIDEs.filter(ide => ide.detected)` is empty — no supported IDE binaries/config directories are found at their expected locations.

Common situations: Fresh CI containers or minimal VMs with no Claude Code installed; installing claude-mem before installing any IDE; custom IDE install paths the detector does not scan; non-standard HOME directory.

Understand the failure class

Background: 'Could not be found', 'does not exist', 'not found in database': the resource-not-found family when an ID, slug, key, or URI lookup comes back empty — this error's family across 20 libraries.

Related errors


AI-assisted analysis of thedotmack/claude-mem@d8bc9755e7 (2026-09-17). Data as JSON: /api/errors/f3c7dbf1fc68decd. Report an issue: GitHub.

Appendix: source

Thrown at src/npx-cli/commands/install.ts:654

        { value: 'cancel', label: 'Cancel installation' },
      ],
      initialValue: 'install',
    });
    if (p.isCancel(choice) || choice === 'cancel') {
      p.cancel('Installation cancelled.');
      process.exit(0);
    }
    if (choice === 'install') {
      if (await installClaudeCode()) {
        detectedIDEs = detectInstalledIDEs();
      }
    }
  }

  const detected = detectedIDEs.filter((ide) => ide.detected);

  if (detected.length === 0) {
    log.warn('No supported IDEs detected — pick the one(s) you plan to use.');
  }

  const options = detectedIDEs.map((ide) => {
    const detectedTag = ide.detected ? ' [detected]' : '';
    return {
      value: ide.id,
      label: ide.label,
      hint: `${ide.hint}${detectedTag}`,
    };
  });

  // Pre-check Claude Code (plus anything else detected). It is the IDE almost
  // everyone installing claude-mem is running, and an empty multiselect makes
  // the common case a required chore before the install can continue.
  const preselected = detectedIDEs
    .filter((ide) => ide.detected || ide.id === 'claude-code')
    .map((ide) => ide.id);

View on GitHub (pinned to d8bc9755e7)