NOTE: There is a bug in the sandbox command that may result in Storybook@8 (beta) to be installed.
To bypass this issue, use this command instead:
npx storybook@latest sandbox --branch=main
This version of the command uses the main branch, which is currently the latest v7. My hope is that the versioned sandbox command is fixed by the time v8 goes out. Once resolved, the command in the video is preferred.
Launch into Storybook with a one-command setup using npx storybook sandbox. Instantly create a Storybook environment tailored to your preferred framework and language, perfect for immersive learning and exploration.
The template for storybook@7 sandbox is storybook 8.0.0-alpha.9 Same thing if I specify 7.6.7
So sorry for this. I just confirmed with the storybook team that using versions on the sandbox
is not currently functional.
Until v8 is merged to main, you can use this alternative:
npx storybook@latest sandbox --branch=main
This version of the command uses the main
branch, which is currently the latest v7.
My hope is that the versioned sandbox command is fixed by the time v8 goes out.
Awesome, thanks :-)