Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
michalzan opened this issue May 16, 2022 · 0 comments · Fixed by #4805
Closed

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

michalzan opened this issue May 16, 2022 · 0 comments · Fixed by #4805
Assignees

Comments

@michalzan
Copy link

michalzan commented May 16, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants