Storybook: Error on v5 upgrade

Created on 5 Mar 2019  路  6Comments  路  Source: storybookjs/storybook

Describe the bug
After upgrading to v5, I get the error Uncaught TypeError: Cannot read property 'Consumer' of undefined and a blank screen.
To Reproduce
Steps to reproduce the behavior:
Upgrade a project from v4.1.4 to v5

Expected behavior
I expected it to work flawlessly, and see my stories.

Screenshots
image

Code snippets
If applicable, add code samples to help explain your problem.

System:

  • OS: MacOS
  • Device: Macbook Pro 2012
  • Browser: chrome
  • Framework: react
  • Addons: none
  • Version: 5.0.0

Additional context
None

bug core

Most helpful comment

Hi @korede360 - can you show the contents of your package.json?

You could try removing node_modules and yarn.lock/package-lock.json and reinstalling -- it could be a messed up set of modules.

All 6 comments

Hi @korede360 - can you show the contents of your package.json?

You could try removing node_modules and yarn.lock/package-lock.json and reinstalling -- it could be a messed up set of modules.

@tmeasday
I had the same problem and that solution fixes it for me

@tmeasday , thank you! This solution worked for me!

@tmeasday Your solution works! Thanks a lot.

:/

I am having this issue and reinstalling modules did not help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wahengchang picture wahengchang  路  3Comments

purplecones picture purplecones  路  3Comments

tlrobinson picture tlrobinson  路  3Comments

levithomason picture levithomason  路  3Comments

miljan-aleksic picture miljan-aleksic  路  3Comments