-
The This happens every time. It can be easily reproduced by creating a new Project using CRA (for example), running Could anyone please let me know if there's any way for me to get this to work? I've tried various NPM versions but I doubt that has anything to do with the issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@TomWebbio You have to give the sb extract command to location or url of where storybook is to be found, and where to place stories.json: Where it's hosted: npx sb extract http://localhost:6006/iframe.html ./stories.json Where a storybook-static is located: npx sb extract ./storybook-static We're supposedly checking if these values are empty: storybook/lib/cli/src/extract.ts Lines 70 to 82 in 7363899 But maybe we're passing in default values in there? yeah we are: storybook/lib/cli/src/generate.ts Lines 86 to 94 in 194a699 But we're never checking if these actually exist... that's the issue. The user isn't specifying anything, it's using the default options, but the source directory doesn't exist... |
Beta Was this translation helpful? Give feedback.
@TomWebbio You have to give the sb extract command to location or url of where storybook is to be found, and where to place stories.json:
Where it's hosted:
Where a storybook-static is located:
We're supposedly checking if these values are empty:
storybook/lib/cli/src/extract.ts
Lines 70 to 82 in 7363899