-
-
Notifications
You must be signed in to change notification settings - Fork 886
Closed
Labels
Description
I'm seeing this warning sometimes (output seems to be hidden unless the install fails):
npm WARN install Usage of the `--dev` option is deprecated. Use `--include=dev` instead.
Which seems to be because of this:
pre-commit/pre_commit/languages/node.py
Line 104 in fe436f1
'npm', 'install', '--dev', '--prod', |
The problem with this command was that it installed dependencies recursively, rendering them useless (AFAICT, not a node expert). The developers decided it was only a footgun in npm/npm#5554 (comment) and deprecated in npm/npm#6200.
austinbutler, janosh, Skylion007 and nickbroon