diff --git a/lib/definitions/errors.js b/lib/definitions/errors.js index 23c16728..3a914dc5 100644 --- a/lib/definitions/errors.js +++ b/lib/definitions/errors.js @@ -36,7 +36,8 @@ Please make sure to create an [npm token](https://docs.npmjs.com/getting-started 'README.md#npm-registry-authentication' )}) configured in the \`NPM_TOKEN\` environment variable must be a valid [token](https://docs.npmjs.com/getting-started/working_with_tokens) allowing to publish to the registry \`${registry}\`. -If you are using Two-Factor Authentication, make configure the \`auth-only\` [level](https://docs.npmjs.com/getting-started/using-two-factor-authentication#levels-of-authentication) is supported. **semantic-release** cannot publish with the default \`auth-and-writes\` level. +If you are using Two Factor Authentication for your account, set its level to ["Authorization only"](https://docs.npmjs.com/getting-started/using-two-factor-authentication#levels-of-authentication) in your account settings. **semantic-release** cannot publish with the default " +Authorization and writes" level. Please make sure to set the \`NPM_TOKEN\` environment variable in your CI with the exact value of the npm token.`, }),