Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
After updating the overrides, npm install is not updating the package.lock or node_modules.
To make it work I had to remove both package.lock and node_modules, then the overrides have been applied.
Expected Behavior
Change in overrides should update package.lock and node_modules after running npm install
Steps To Reproduce
- Add a dependency
- npm install
- Add override
- npm install
Environment
- npm: >=8.3.0
- Node.js: 16.13.2
- OS Name: macOS 12
- System Model Name:
- npm config:
; copy and paste output from `npm config ls` here
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
After updating the overrides,
npm installis not updating thepackage.lockornode_modules.To make it work I had to remove both
package.lockandnode_modules, then the overrides have been applied.Expected Behavior
Change in
overridesshould updatepackage.lockandnode_modulesafter runningnpm installSteps To Reproduce
Environment
; copy and paste output from `npm config ls` here