Optional dependency removed by dedupe

(Franklin Yu) #1

Please tag this as cli.

When I have optional dependencies in package-lock.json, running npm dedupe will remove them from lock file. Is this expected behavior? This looks weird because next time I run npm install they will be add back to the lock file.

(system) #2

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.