Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: npx sb init does not work on yarn 3.3.0 project #20317

Open
dimitur2204 opened this issue Dec 17, 2022 · 2 comments
Open

[Bug]: npx sb init does not work on yarn 3.3.0 project #20317

dimitur2204 opened this issue Dec 17, 2022 · 2 comments

Comments

@dimitur2204
Copy link

dimitur2204 commented Dec 17, 2022

Describe the bug

I have a repo with React, Vite and TypeScript. I am using yarn@3.3.0 and when I try to run npx sb init I get a blank terminal with no error and no project initialized. Take a look at the GIF
storybook-yarn-3-bug

Confirmed that it works with yarn@1.22.19!

To Reproduce

https://github.com/dimitur2204/radix-semantic-ui - the master branch on this repo is where it happens

System

System:
    OS: macOS 13.0
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 19.0.1 - ~/.nvm/versions/node/v19.0.1/bin/node
    Yarn: 3.3.0 - ~/.yarn/bin/yarn
    npm: 9.2.0 - ~/.nvm/versions/node/v19.0.1/bin/npm
  Browsers:
    Chrome: 108.0.5359.124
    Edge: 108.0.1462.54
    Firefox: 107.0.1
    Safari: 16.1

Additional context

No response

@dimitur2204 dimitur2204 changed the title [Bug]: npx sb init does not work on yarn [Bug]: npx sb init does not work on yarn 3.3.0 project Dec 17, 2022
Copy link
Member

shilman commented Dec 25, 2022

Can you try npx sb@next init instead?

@dimitur2204
Copy link
Author

dimitur2204 commented Dec 25, 2022

Can you try npx sb@next init instead?

Does not work also. Same result! The example on the GIF is actually with @next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants