-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Description
opened
Current Behavior:
npm ci does not fail when package.json doesn't match package-lock.json
Expected Behavior:
npm ci refuses to install when the lock file is invalid.
Steps To Reproduce:
- Manually bump a major version of a dependency in
package.json - Run
npm ci - It should fail but performs the whole installation
npm@7
npm@6
Environment:
- OS: Mac OS
- Node: 14.15.3
- npm: 7.5.4
Metadata
Metadata
Assignees
Labels
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests

