Skip to content

Commit

Permalink
fix(devkit): update missing package message for ensurePackage for cla… (
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo committed Dec 6, 2022
1 parent 8858f49 commit dc1b53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devkit/src/utils/package-json.ts
Expand Up @@ -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, {
Expand Down

1 comment on commit dc1b53a

@vercel
Copy link

@vercel vercel bot commented on dc1b53a Dec 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx.dev
nx-five.vercel.app
nx-dev-nrwl.vercel.app

Please sign in to comment.