Skip to content

-D (or --dev) flag on install is ignored #4745

@michalzan

Description

@michalzan

pnpm version: 7.1.0

Expected behavior:

running NODE_ENV=production pnpm install -d installs the dev dendencies
like it is described in the documentation

Actual behavior:

dev dependencies are skipped showing this in command line:
devDependencies: skipped because NODE_ENV is set to production
image

Additional information:

  • node -v prints: v14.19.0
  • Windows, macOS, or Linux?: macOS - m1 macbook pro

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions