Skip to content

Local development Storybook error #1213

@peoray

Description

@peoray

Select which package(s) are affected

@livekit/components-react

Describe the bug

I cloned the repo and followed the steps highlighted in the development setup to install the project. After successfully cloning and running pnpm install and pnpm build, I tried to start the storybook server using pnpm dev:storybook. I got this error after the server started:

Image

Reproduction

To reproduce, clone the repository and follow the steps in the development setup. After completing the installation process, run pnpm dev:storybook and when it opens in the browser, you'll see the error if you try to see the components

Logs

System Info

System:
    OS: macOS 15.3.2
    CPU: (10) arm64 Apple M1 Max
    Memory: 61.00 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v22.14.0/bin/yarn
    npm: 10.9.2 - ~/.nvm/versions/node/v22.14.0/bin/npm
  Browsers:
    Brave Browser: 140.1.82.173
    Chrome: 141.0.7390.54
    Safari: 18.3.1

Severity

blocking all usage of LiveKit

Additional Information

No response

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