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

Issue with storybook #305

Open
Rig14 opened this issue May 16, 2022 · 0 comments
Open

Issue with storybook #305

Rig14 opened this issue May 16, 2022 · 0 comments

Comments

@Rig14
Copy link

Rig14 commented May 16, 2022

Storybook is broken out of the box when starting a new nextjs project and shows the following error when started:

    mainCompilation.fileSystemInfo.createSnapshot(
                                   ^

TypeError: Cannot read properties of undefined (reading 'createSnapshot')

This seems to be a Webpack version error

It can be fixed by installing html-webpack-plugin

npm i --save-dev html-webpack-plugin
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

1 participant