-
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
ignores --production=false
(7.7.0)
#2936
Comments
We had this problem on Heroku today. I think that the change is for the better, Our quick-fix is to force installation of devDependencies on heroku via This is a change from 7.6.x and should probably not have been released before 8.0, since it broke our deployment flow half a day, meaning no updates to our website. |
This consolidates all the various --include and --omit configuration flatteners into a single function, since they have to be interdependent in order to function properly. Fix: #2936
This should be fixed in |
Thank you, but I'm still able to reproduce the issue with |
Yep sorry about that. New PR is up and should fix it, and I screenshotted this exact scenario to show it really does fix it this time. |
In the short interim before this fix goes out I'd like to point out to folks that So if you wanted to override |
landed in npm@7.7.4 🙏 please let us know if you still have any problems. |
Current Behavior:
NODE_ENV=production npm install --production=false
doesn't install project's devDependecies.Expected Behavior:
NODE_ENV=production npm install --production=false
installs devDependencies according to docs:Steps To Reproduce:
NODE_ENV=production npm install --production=false
npm ls
printsUNMET DEPENDENCY
for them)Environment:
The text was updated successfully, but these errors were encountered: