diff --git a/code/lib/cli-storybook/src/automigrate/index.ts b/code/lib/cli-storybook/src/automigrate/index.ts index 9078efc00d7c..040f427ba5ec 100644 --- a/code/lib/cli-storybook/src/automigrate/index.ts +++ b/code/lib/cli-storybook/src/automigrate/index.ts @@ -84,7 +84,7 @@ export const doAutomigrate = async (options: AutofixOptionsFromCLI) => { ); if (hasAppliedFixes && !options.skipInstall) { - packageManager.installDependencies(); + await packageManager.installDependencies(); } if (outcome && !options.skipDoctor) {