Skip to content

Issue with storybook #305

@Rig14

Description

@Rig14

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions