Skip to content

[BUG] npx detection fails on Windows despite Node.js/npm being properly installed #65

@AltafEmpaxis

Description

@AltafEmpaxis

Environment:

  • OS: Windows 11
  • Node.js: v24.13.0
  • npm: 11.6.2
  • npx: 11.6.2
  • @elevenlabs/cli: 0.3.4

Issue:
When running npx @elevenlabs/cli@latest components add orb, getting error:
"Error: npx is not available. Please install Node.js/npm."

Steps to Reproduce:

  1. Install Node.js and npm (verified with node -v, npm -v, npx -v)
  2. Run: npx @elevenlabs/cli@latest components add orb
  3. Error occurs despite npx being available

Expected Behavior:
Command should detect npx and proceed with installation

Actual Behavior:
CLI fails to detect npx in Windows PowerShell environment

Additional Context:

  • PATH variables are correctly set
  • npx works with other packages
  • Issue persists even with global installation: npm install -g @elevenlabs/cli

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions