Skip to content
This repository was archived by the owner on Jun 28, 2025. It is now read-only.
This repository was archived by the owner on Jun 28, 2025. It is now read-only.

Clean install is weirdly borked #232

@JamesYeoman

Description

@JamesYeoman

So I used npx sb@next repro, and it all works fine. But as I've commented in the following code block, a clean vite + sb-builder-vite install errors out

yarn create vite # I used the react-ts template
cd <folder name>
yarn
npx sb@next init --builder storybook-builder-vite # https://storybook.js.org/blog/storybook-for-vite/
yarn storybook # acorn jsx error
yarn add --dev @storybook/core-common webpack@^5 # Peer dependencies that yarn said were unmet, so this is an attempt to try to fix the error
yarn storybook # acorn jsx error still occuring

Here's a screenshot of the "acorn jsx error"
image

This error seems to make everything load infinitely. No error gets displayed in my shell, and everything comes to a standstill.

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