Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] when using npm install, package.json has no change, but package-lock.json automatically changed #2351

Closed
1036875207 opened this issue Dec 15, 2020 · 2 comments
Labels
Bug thing that needs fixing Release 6.x work is associated with a specific npm 6 release

Comments

@1036875207
Copy link

image
devDependencies @vue/cli-service
@vue/cli-service requires "vue-loader-v16": "npm:vue-loader@^16.0.0-beta.7"

while using npm install, package-lock.json auto updated vue-loader-v16,
for keeping exactly the same dependencies, package-lock.json should not get auto updated

npm version 6.14.8

@1036875207 1036875207 added Bug thing that needs fixing Needs Triage needs review for next steps Release 6.x work is associated with a specific npm 6 release labels Dec 15, 2020
@ljharb
Copy link
Contributor

ljharb commented Dec 15, 2020

What happens in npm v7.1.2?

@1036875207
Copy link
Author

What happens in npm v7.1.2?

npm v7.1.2

vue-loader-v16 also get auto updated to @16.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Release 6.x work is associated with a specific npm 6 release
Projects
None yet
Development

No branches or pull requests

3 participants