Skip to content

Angular 12.1 & Storybook 6.3 - Storybook build process never complete #21261

Closed
@ld210

Description

@ld210

🐞 Bug report

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

Yes, was working fine until @angular/cli@12.0.3

Description

We have an Angular project (v12.1), and we are using Storybook for our design system (v6.3). When building Storybook, the process produce an output, but never close, breaking our CI.

🔬 Minimal Reproduction

  • ng new testProject (with angular cli v12) (choosing SCSS)
  • npx sb@next init
  • build-storybook

🔥 Exception or Error

There's no errors

🌍 Your Environment


Angular CLI: 12.1.0
Node: 14.15.4
Package Manager: npm 7.19.0
OS: darwin x64

Angular: 12.1.0
... animations, cdk, cli, common, compiler, compiler-cli, core
... elements, forms, language-service, material
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1201.0
@angular-devkit/build-angular   12.1.0
@angular-devkit/core            12.1.0
@angular-devkit/schematics      12.1.0
@schematics/angular             12.1.0
rxjs                            6.6.7
typescript                      4.3.4

Anything else relevant?

There is an open issue in Storybook repo : #15227 where someone put up a reproduction repo : Storybook timeout repro
Investigations appears to leads to a change in this PR : 21045
There is a workaround, a bit dirty though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions