#Error running sandbox for the first time

1 messages Β· Page 1 of 1 (latest)

robust nacelle
#

Hi everyone πŸ‘‹

I just tried to run the sandbox for the first time. I've cloned the repo and ran yarn start according to this guide: https://storybook.js.org/docs/react/contribute/code

And i got this error, which I am not sure where to begin troubleshooting, can someone help?

WARN 🚨 Unable to index files:
WARN - ./template-stories/addons/docs/docs2/MetaOf.mdx: Invariant failed: Could not find or load CSF file at path "./button.stories.ts" referenced by `of={}` in docs file "template-stories/addons/docs/docs2/MetaOf.mdx".
WARN     
WARN - Does that file exist?
WARN - If so, is it a CSF file (`.stories.*`)?
WARN - If so, is it matched by the `stories` glob in `main.js`?
WARN - If so, has the file successfully loaded in Storybook and are its stories visible?
WARN - ./template-stories/addons/docs/docs2/MetaOfNamed.mdx: Invariant failed: Could not find or load CSF file at path "./button.stories.ts" referenced by `of={}` in docs file "template-stories/addons/docs/docs2/MetaOfNamed.mdx".
WARN     
WARN - Does that file exist?
WARN - If so, is it a CSF file (`.stories.*`)?
WARN - If so, is it matched by the `stories` glob in `main.js`?
WARN - If so, has the file successfully loaded in Storybook and are its stories visible?

Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and documentation. It’s open source and free.

tawdry path
#

Type yarn task and try compiling the whole repo first