Skip to content

Commit 05b32ef

Browse files
Merge pull request #33736 from tanujbhaud/fix/angular-silent-flag
Angular: Storybook fails with unknown option silent
2 parents 976cf98 + 38a251b commit 05b32ef

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

code/lib/create-storybook/src/initiate.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ async function runStorybookDev(result: {
178178

179179
const parts = storybookCommand.split(' ');
180180

181-
if (packageManager.type === 'npm') {
181+
// Angular CLI throws "Unknown argument: silent"
182+
if (packageManager.type === 'npm' && projectType !== ProjectType.ANGULAR) {
182183
parts.push('--silent');
183184
}
184185

0 commit comments

Comments
 (0)