-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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] missing docs around package-lock.json inside the /node_modules/ dir #2521
Comments
Handy: but where is that found on the actual site? It's not under https://docs.npmjs.com/cli/v7/configuring-npm/package-json nor is it under https://docs.npmjs.com/cli/v7/using-npm/config, so even though it looks like that information exists, it's basically not discoverable. |
It seems it has now been published on the actual site: https://docs.npmjs.com/cli/v7/configuring-npm/package-lock-json#hidden-lockfiles |
fantastic, then that closes this issue =) |
Current Behavior:
I can't for the life of me find something that lets me let you know about docs problems, as the official list of options has nothing relating to docs issues (only a way to open the docs site), so I'm filing this as an npm bug instead: running
npm install
generates apackage-lock.json
file not just in the project dir, but also in the./node_modules/
dir.The docs don't mention (1) that it'll do this, (2) what the purpose of this file is, and (3) why and how it's different (because it's about half the size as the regular package-lock.json file).
Expected Behavior:
No
package-lock.json
gets written to./node_modules/
Steps To Reproduce:
Run
npm install
The text was updated successfully, but these errors were encountered: