Skip to content

Storybook is broken on fresh clone #2170

Closed
@siddharthkp

Description

@siddharthkp

This is terrible for contributor experience

To Reproduce
Steps to reproduce the behavior:

  1. Fresh clone https://github.com/primer/react
  2. npm install
  3. npm run start:storybook
  4. See error
Uncaught TypeError: Cannot read properties of undefined (reading 'configure')
    at ./generated-stories-entry.js (generated-stories-entry.js:6:1)
    at __webpack_require__ (bootstrap:853:1)
    at fn (bootstrap:150:1)
    at 0 (storybook-init-framework-entry.js:1:1)
    at __webpack_require__ (bootstrap:853:1)
    at checkDeferredModules (bootstrap:45:1)
    at Array.webpackJsonpCallback [as push] (bootstrap:32:1)
    at main.iframe.bundle.js:1:57

Update: This started after #2150, thanks @pksjce for triage!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreact

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions