Skip to content

Failure with reference of flag that isn't supplied in pnpm pack --filter #4351

@ryanrhee

Description

@ryanrhee

pnpm version: 6.31.0

Code to reproduce the issue:

I have a monorepo with a pnpm-workspace.yaml that defines workspaces as packages/*, and a workspace called packages/my-workspace.

When I try to pack my workspace:

❯ pnpm pack --filter my-workspace
 ERROR   ERROR  Unknown option: 'recursive'
For help, run: pnpm help pack

Expected behavior:

my-workspace tar is generated

Actual behavior:

error about a flag that i didn' tsupply

Additional information:

  • node -v prints: v16.13.2
  • Windows, macOS, or Linux?: macOS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions