We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
npm config fix
1 parent 50d2ec2 commit 1bff064Copy full SHA for 1bff064
1 file changed
docs/lib/content/commands/npm-config.md
@@ -83,6 +83,16 @@ npm config edit
83
Opens the config file in an editor. Use the `--global` flag to edit the
84
global config.
85
86
+#### fix
87
+
88
+```bash
89
+npm config fix
90
+```
91
92
+Attempts to repair invalid configuration items. Usually this means
93
+attaching authentication config (i.e. `_auth`, `_authToken`) to the
94
+configured `registry`.
95
96
### Configuration
97
98
<!-- AUTOGENERATED CONFIG DESCRIPTIONS -->
0 commit comments