From 54fb673a38513c0d35adef5b9462410ad15d8714 Mon Sep 17 00:00:00 2001 From: Tomasz Jaworski Date: Fri, 15 Nov 2024 00:27:27 +0100 Subject: [PATCH] Update libraries/rush-lib/src/logic/installManager/InstallHelpers.ts Co-authored-by: Ian Clanton-Thuon --- .../rush-lib/src/logic/installManager/InstallHelpers.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libraries/rush-lib/src/logic/installManager/InstallHelpers.ts b/libraries/rush-lib/src/logic/installManager/InstallHelpers.ts index 48b2c9b1285..c7e07b5fe76 100644 --- a/libraries/rush-lib/src/logic/installManager/InstallHelpers.ts +++ b/libraries/rush-lib/src/logic/installManager/InstallHelpers.ts @@ -76,10 +76,9 @@ export class InstallHelpers { // eslint-disable-next-line no-console console.warn( Colorize.yellow( - `Your version of pnpm ${rushConfiguration.rushConfigurationJson.pnpmVersion} ` + - `doesn't support "globalIgnoredOptionalDependencies". Please consider upgrading the ` + - `"pnpmVersion" setting in ${RushConstants.rushJsonFilename} to 9.0.0 or higher ` + - Colorize.bold('(please note that pnpm 9+ is not officially supported yet at the moment)') + `Your version of pnpm (${rushConfiguration.rushConfigurationJson.pnpmVersion}) ` + + `doesn't support the "globalIgnoredOptionalDependencies" field in ${RushConstants.}/${RushConstants.}. ` + + `Remove this field or upgrade to pnpm 9.` ) ); }