diff --git a/lib/utils/error-message.js b/lib/utils/error-message.js index a2cdb0aa48068..e3d6c3526936f 100644 --- a/lib/utils/error-message.js +++ b/lib/utils/error-message.js @@ -182,7 +182,7 @@ const errorMessage = (er, npm) => { ]) detail.push([ '', - ['To correct this please trying logging in again with:', ' npm login'].join('\n'), + ['To correct this please try logging in again with:', ' npm login'].join('\n'), ]) } else if (auth.includes('Basic')) { short.push(['', 'Incorrect or missing password.']) diff --git a/tap-snapshots/test/lib/utils/error-message.js.test.cjs b/tap-snapshots/test/lib/utils/error-message.js.test.cjs index 7c155cb16687f..13e3104af9302 100644 --- a/tap-snapshots/test/lib/utils/error-message.js.test.cjs +++ b/tap-snapshots/test/lib/utils/error-message.js.test.cjs @@ -1137,7 +1137,7 @@ Object { Array [ "", String( - To correct this please trying logging in again with: + To correct this please try logging in again with: npm login ), ],