-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Bugthing that needs fixingthing that needs fixing
Description
What / Why
Installing npm dependencies with the --no-save
flag will remove other dependencies that were installed in the same manner.
When
Always.
Where
- npm public registry
How
Current Behavior
Installing npm dependencies with the --no-save
flag will remove other dependencies that were installed in the same manner.
Steps to Reproduce
- Init a folder with a package.json
- Run
npm install {package1} --no-save
. (replace package1 with whatever you want) - Check
node_modules
for {package1}, you'll find it. - Run
npm install {package2} --no-save
. (replace package2 with whatever you want) - Check
node_modules
for {package2}, you'll find it. - Check
node_modules
for {package1}, you WON'T find it.
Expected Behavior
Both packages should exist in node_modules
rhansen, davidnussio and litstat
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixing