-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[BUG] npm install –only=prod please do not prefetch devDependencies modules #1969
Labels
Bug
thing that needs fixing
Enhancement
new feature or improvement
Priority 1
high priority issue
Release 7.x
work is associated with a specific npm 7 release
Milestone
Comments
xqin
added
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
labels
Oct 16, 2020
npm log in the below, see i only need one module
|
Agreed, this is wasteful. Note for implementer: add a check for the omit settings in the |
darcyclarke
added
Priority 1
high priority issue
Enhancement
new feature or improvement
labels
Feb 2, 2021
This is going to be tracked here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
thing that needs fixing
Enhancement
new feature or improvement
Priority 1
high priority issue
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
When is use npm install with --only=prod arguments, i just want npm only fetch module in dependencies.
but currently, npm fetch all module information, it's make install process slow.
this bug exists since npm
v5.10.0
and still exists in npm 7.@zkat
Expected Behavior:
only fetch module in
dependencies
.Steps To Reproduce:
package.json
run
npm install -ddd --only=prod --no-audit --no-package-lock -no-fund
command, you will see the detail in the log.Environment:
more detail see previous bug report:
https://npm.community/t/npm-install-only-prod-verbose-please-do-not-pre-fetch-devdependencies/4732
The text was updated successfully, but these errors were encountered: