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

using storybook returns error Property 'webpackStatsJson' does not match the schema. 'false' should be a 'string'. #19734

Closed
1 of 4 tasks
r3plica opened this issue Oct 19, 2023 · 3 comments · Fixed by #19736
Closed
1 of 4 tasks
Assignees
Labels

Comments

@r3plica
Copy link

r3plica commented Oct 19, 2023

Current Behavior

When I create a new workspace and generate a library, component and configure storybook, if I try to run storybook I get the following error:

image

I have tried this multiple times and changed the options slightly, but it continues to happen.

Expected Behavior

I expect to be able to see my stories

GitHub Repo

No response

Steps to Reproduce

  1. npx create-nx-workspace@latest my-app
  2. create a library using nx console
  3. create a component in the library using nx console
  4. configure storybook for that library using nx console
  5. run storybook

Nx Report

Node   : 18.13.0
   OS     : win32-x64
   npm    : 8.13.2

   nx (global)        : 16.10.0
   nx                 : 16.10.0
   @nx/js             : 16.10.0
   @nx/jest           : 16.10.0
   @nx/linter         : 16.10.0
   @nx/workspace      : 16.10.0
   @nx/angular        : 16.10.0
   @nx/cypress        : 16.10.0
   @nx/devkit         : 16.10.0
   @nx/eslint-plugin  : 16.10.0
   @nx/storybook      : 16.10.0
   @nrwl/tao          : 16.10.0
   @nx/web            : 16.10.0
   @nx/webpack        : 16.10.0
   nx-cloud           : 16.5.2
   typescript         : 5.1.6
   ---------------------------------------
   Community plugins:
   @storybook/angular : 7.5.0

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@mandarini mandarini self-assigned this Oct 19, 2023
@mandarini mandarini added scope: storybook Issues related to Storybook support in Nx blocked: third-party labels Oct 19, 2023
@mandarini
Copy link
Member

This is caused by this: storybookjs/storybook#24512

and it was fixed in: storybookjs/storybook#24494

once storybook releases it we'll update Nx

@mandarini
Copy link
Member

Temp fix until it's fixed on the Storybook side:

storybookjs/storybook#24494 (comment)

thanks @LucaVazz

r3plica added a commit to r3plica/angular-storybook-tailwind-nx that referenced this issue Oct 19, 2023
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants