Skip to content

Dev server crashes with react-scripts v4 #1705

Closed
@varoot

Description

@varoot

Current behavior

When running styleguidist server with react-scripts 4.0.0 and open in the browser, the server crashes with "Error: Already listening" message.

To reproduce

  1. Create a new project with latest CRA: yarn create react-app test
  2. Install Styleguidist yarn add -D react-styleguidist
  3. Run dev server and open the browser yarn styleguidist server --open

Demo repository:
https://github.com/varoot/styleguidist-example

Expected behavior

The dev server should run without crashing. User should be able to see the styleguide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions