Skip to content

After install playwright mcp tool and use /mcp then got this error #345

@mominurr

Description

@mominurr

Expected Behavior

✖ CRITICAL: Uncaught Exception!
This is an unexpected error. Please file a bug report at https://github.com/CommandCodeAI/command-code/issues/new
✖ ERROR → Error
ℹ REASON → spawn npx ENOENT
ℹ ERROR STACK ↓
Error: spawn npx ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:287:19)
at onErrorNT (node:internal/child_process:508:16)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)

ℹ Request ID: unknown
Share this ID with support to help debug your issue.

playwright
◯ not connected

Connect
Disable
Remove
Back

✘ Failed: Unhandled error. ('playwright')

↑↓ navigate · Enter to select · Esc to go back

Actual Behavior

Adding mcp tool using this command: command-code mcp add playwright --scope user -- npx @playwright/mcp
/mcp -> connect playwright then got the error and not able to use.

Command Code Version

v0.25.10

Operating System

Windows

Terminal/IDE

vscode

Shell

No response

Additional context

No response

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