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

[Bug]: @storybook/angular unsupported --stats-json flag #29193

Open
fgirardey opened this issue Sep 24, 2024 · 0 comments
Open

[Bug]: @storybook/angular unsupported --stats-json flag #29193

fgirardey opened this issue Sep 24, 2024 · 0 comments

Comments

@fgirardey
Copy link

fgirardey commented Sep 24, 2024

Describe the bug

When Chromatic build storybook it passes additional arguments such as --stats-json.

The --webpackStatsJson parameter has been renamed into --stats-json: chromaui/chromatic-cli#1030

Therefore since this morning all my CI fails.

Example:

> nx run storybook-host-angular:build-storybook --output-dir=/tmp/chromatic--2639-uZkil9x91h0W --stats-json=/tmp/chromatic--2639-uZkil9x91h0W
 NX   'stats-json' is not found in schema
 NX   Running target build-storybook for project storybook-host-angular failed

Reproduction link

https://stackblitz.com/edit/github-a5abiy?file=package.json

Reproduction steps

  1. Go to the above link
  2. Run the command yarn storybook -- --stats-json=./tmp

System

Storybook Environment Info:

  System:
    OS: macOS 15.0
    CPU: (10) arm64 Apple M1 Pro
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.17.0 - ~/.volta/tools/image/node/20.17.0/bin/node
    npm: 10.8.2 - ~/.volta/tools/image/node/20.17.0/bin/npm <----- active
  Browsers:
    Chrome: 129.0.6668.59
    Edge: 129.0.2792.52
    Safari: 18.0
  npmPackages:
    @storybook/addon-essentials: 8.3.2 => 8.3.2 
    @storybook/addon-interactions: 8.3.2 => 8.3.2 
    @storybook/angular: 8.3.2 => 8.3.2 
    @storybook/core-server: 8.3.2 => 8.3.2 
    @storybook/nextjs: 8.3.2 => 8.3.2 
    @storybook/react-vite: 8.3.2 => 8.3.2 
    @storybook/test: 8.3.2 => 8.3.2 
    @storybook/test-runner: 0.18.2 => 0.18.2 
    storybook: 8.3.2 => 8.3.2

Additional context

No response

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

1 participant