From dc1b53a2c5a43d3f78d872f2334edaebea63e23a Mon Sep 17 00:00:00 2001 From: Jack Hsu Date: Tue, 6 Dec 2022 13:34:42 -0500 Subject: [PATCH] =?UTF-8?q?fix(devkit):=20update=20missing=20package=20mes?= =?UTF-8?q?sage=20for=20ensurePackage=20for=20cla=E2=80=A6=20(#13665)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/devkit/src/utils/package-json.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/devkit/src/utils/package-json.ts b/packages/devkit/src/utils/package-json.ts index a066a369f9..33fe241bfe 100644 --- a/packages/devkit/src/utils/package-json.ts +++ b/packages/devkit/src/utils/package-json.ts @@ -336,7 +336,7 @@ export async function ensurePackage( } ${pkg}@${requiredVersion}`; if (throwOnMissing) { throw new Error( - `Required package ${pkg}@${requiredVersion} is missing. Run "${installCmd}", and then try again.` + `Cannot install required package ${pkg} during a dry run. Run the generator without --dryRun, or install the package with "${installCmd}" and try again.` ); } else { execSync(installCmd, {