Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build-storybook gets stuck on "Generating browser application bundles (phase: setup)" for Angular v12 on sb 6.4 #17107

Closed
DigiBanks99 opened this issue Jan 2, 2022 · 1 comment

Comments

@DigiBanks99
Copy link

Describe the bug

Since upgrading to Storybook v6.4 with Angular v12, when running npm run build-storybook the generation completes successfully, but the command doesn't complete and gets stuck in the console with the message: Generating browser application bundles (phase: setup).

The problem seems to be setting progress: true in angular.json:projects/{{my-project}}/architect/build/options. Removing progress: true bypasses the issue, but this also makes running ng build not report progress which sucks.

To Reproduce

I've created a minimal repro at here.

  1. Create a new Angular app on v12: ng new ng-sb --strict
  2. Add Storybook using npx sb init
  3. Modify angular.json to produce progress status when building by adding progress: true to projects/ng-sb/architect/build/options

System

Environment Info:

  System:
    OS: Windows 10 10.0.19044
    CPU: (4) x64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
  Binaries:
    Node: 14.17.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.1.1 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.1.3 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 96.0.4664.110
    Edge: Spartan (44.19041.1266.0), Chromium (96.0.1054.62)
  npmPackages:
    @storybook/addon-actions: ^6.4.9 => 6.4.9
    @storybook/addon-docs: ^6.4.9 => 6.4.9
    @storybook/addon-essentials: ^6.4.9 => 6.4.9
    @storybook/addon-links: ^6.4.9 => 6.4.9
    @storybook/angular: ^6.4.9 => 6.4.9
    @storybook/builder-webpack5: ^6.4.9 => 6.4.9
    @storybook/manager-webpack5: ^6.4.9 => 6.4.9

Additional context

N/A

@shilman
Copy link
Member

shilman commented Jun 8, 2023

We’re cleaning house! Storybook has changed a lot since this issue was created and we don’t know if it’s still valid. Please open a new issue referencing this one if:

@shilman shilman closed this as not planned Won't fix, can't repro, duplicate, stale Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants