fix(devkit): update missing package message for ensurePackage for cla… (#13665)
This commit is contained in:
parent
8858f49baf
commit
dc1b53a2c5
@ -336,7 +336,7 @@ export async function ensurePackage(
|
|||||||
} ${pkg}@${requiredVersion}`;
|
} ${pkg}@${requiredVersion}`;
|
||||||
if (throwOnMissing) {
|
if (throwOnMissing) {
|
||||||
throw new Error(
|
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 {
|
} else {
|
||||||
execSync(installCmd, {
|
execSync(installCmd, {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user