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

Storybook failing to start in a fresh react app - failure in stats.toJson #9752

Closed
abhagupta opened this issue Feb 4, 2020 · 2 comments
Closed

Comments

@abhagupta
Copy link

abhagupta commented Feb 4, 2020

Getting a bug while installation and setup.

          stats.toJson(options.errorDetails);
                ^

TypeError: Cannot read property 'toJson' of null

Node v10.15.3
NPM 6.4.1
storybook/react v5.3.11

To Reproduce
Steps to reproduce the behavior:

  1. Created a simple react app using npx create-react-app my-app
  2. Followed instructions from storybook start guide https://storybook.js.org/docs/guides/quick-start-guide/
  3. See error

Tried multiple times. Btw.. this is manual installation of storybook

@abhagupta abhagupta changed the title Storybook failing to start in a fresh react app Storybook failing to start in a fresh react app - failure in stats.toJson Feb 4, 2020
@juliocymatic
Copy link

I tried to run storybook for Vue but got same error, I need help please

node v12.13.0
npm 6.13.0
@storybook/core@5.3.11

$ /node_modules/@storybook/core/dist/server/dev-server.js:80
          stats.toJson(options.errorDetails);
                ^

TypeError: Cannot read property 'toJson' of null

@shilman
Copy link
Member

shilman commented Feb 4, 2020

Closing as dupe to #9749

Fixed in 5.3.12 AFAIK - waiting for verification

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

3 participants