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

chore(storybook): fix error when storybook is running #112

Open
ghost opened this issue Mar 31, 2022 · 0 comments
Open

chore(storybook): fix error when storybook is running #112

ghost opened this issue Mar 31, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 31, 2022

Storybook

When I run the command yarn storybook inside './apps/booking-app/' this error appears.

image

looking around how to solve it, I found a storybook issue that talks about it.

Possible solutions

Based on this issue we have two ways to fix it.

  1. add webpack ^5 as dev dependency "this doesn't work for me"
  2. add typescript: { reactDocgen: false }, into module.exports inside .storybook/main.js

This error appears because storybook was still trying to reference webpack 4

after run yarn storybook we will get this
image

Let me know what you think!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants