You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#492 is a little vague and I can't tell if this is the same issue. It seems to present in a different manner.
jdmarshall
changed the title
npm --only=prod installs dependencies of devDependencies
npm --only=prod installs dependencies of shrinkwrapped devDependencies
Mar 12, 2020
What / Why
npm install --only=prod
should not be touching devDependencies, full stop.When
all clean installs
Where
working directory
How
Current Behavior
node_modules/foo/ contains only a node_modules directory, with all of foo's dependencies
Steps to Reproduce
rm -rf node_modules package-lock.json npm-shrinkwrap.json && npm install --only=prod
Expected Behavior
node_modules should not contain any devDependencies
Who
References
The text was updated successfully, but these errors were encountered: