Skip to content

unable to start using pnpx: Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'commander' imported #1513

Description

@markAtAthena

Inspector Version

  • 0.22.0

Describe the bug

It no longer works with pnpx/pnpm dlx

To Reproduce
pnpm dlx @modelcontextprotocol/inspector

yields:

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'commander' imported

Expected behavior

No error

Environment (please complete the following information):

  • OS: OS X 26.5

Version Consideration

Inspector V2 is under development to address architectural and UX improvements. During this time, V1 contributions should focus on bug fixes and MCP spec compliance. See CONTRIBUTING.md for more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions