Skip to content

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

@r3plica

Description

@r3plica

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions