diff options
author | Gar <gar+gh@danger.computer> | 2022-11-08 02:38:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 02:38:19 +0300 |
commit | 1bff0640ccb8414e2d416a5cf9d64e9ff03c6403 (patch) | |
tree | 6c23ad9f8f6b6d38814cd4dd2b06e3fef6a4d20a | |
parent | 50d2ec266a0fc7f71c54b755ed0adfde1ab0a783 (diff) |
docs(config): document `npm config fix` (#5819)
-rw-r--r-- | docs/lib/content/commands/npm-config.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/lib/content/commands/npm-config.md b/docs/lib/content/commands/npm-config.md index 270858f8b..5267d4996 100644 --- a/docs/lib/content/commands/npm-config.md +++ b/docs/lib/content/commands/npm-config.md @@ -83,6 +83,16 @@ npm config edit Opens the config file in an editor. Use the `--global` flag to edit the global config. +#### fix + +```bash +npm config fix +``` + +Attempts to repair invalid configuration items. Usually this means +attaching authentication config (i.e. `_auth`, `_authToken`) to the +configured `registry`. + ### Configuration <!-- AUTOGENERATED CONFIG DESCRIPTIONS --> |