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?]: CLI unable to launch storybook #9198

Closed
1 task
Stabbed-wound opened this issue Sep 18, 2023 · 5 comments · Fixed by #9199
Closed
1 task

[Bug?]: CLI unable to launch storybook #9198

Stabbed-wound opened this issue Sep 18, 2023 · 5 comments · Fixed by #9199
Labels
bug/needs-info More information is needed for reproduction

Comments

@Stabbed-wound
Copy link

What's not working?

Attempting to run storybook via the CLI does not work, with the build crashing at 99% completion. The initial run of yarn rw sb does an install of the storybook CLI that I don't remember happening before, but I can't prove is part of the issue.

How do we reproduce the bug?

  1. run "yarn create redwood-app name"; the settings do not matter.
  2. cd name
  3. yarn install
  4. yarn rw sb

Gives the error message "Command failed with exit code 1: yarn storybook dev --config-dir "D:\coding\test\node_modules@redwoodjs\testing\config\storybook" --port 7910 --no-version-updates" citing a build error along with a large call trace and a request to send telemetry

What's your environment? (If it applies)

System:
    OS: Windows 10 10.0.19045
  Binaries:
    Node: 18.17.1 - ~\AppData\Local\Temp\xfs-8a89e1e3\node.CMD
    Yarn: 3.6.3 - ~\AppData\Local\Temp\xfs-8a89e1e3\yarn.CMD  
  Browsers:
    Chrome: 116.0.5845.188
    Edge: Spartan (44.19041.1266.0), Chromium (117.0.2045.31) 
  npmPackages:
    @redwoodjs/core: 6.2.2 => 6.2.2

Are you interested in working on this?

  • I'm interested in working on this
@Stabbed-wound Stabbed-wound added the bug/needs-info More information is needed for reproduction label Sep 18, 2023
@jtoar
Copy link
Contributor

jtoar commented Sep 18, 2023

Hey @Stabbed-wound, we recently decoupled storybook from the framework because not everyone uses it. So if it's the first time you're running it, the install is expected.

Could you try yarn dedupe in your project and see if that fixes it?

@jtoar
Copy link
Contributor

jtoar commented Sep 18, 2023

Although I think I've fixed it, re-opening till I get confirmation

@Stabbed-wound
Copy link
Author

@jtoar This did fix the issue, thank you.

@dmasters19
Copy link

We are still getting the same issue I mentioned here, even after running yarn dedupe

@jtoar
Copy link
Contributor

jtoar commented Sep 21, 2023

Hey @dmasters19, i think over on the forums you said you're on v6.1.0 right? Could you try upgrading to the latest version, v6.3.0?

If it still doesn't work from there, is it possible to provide me with a minimal reproduction? If you don't mind giving me access to the repo to take a look, you can also DM me on the forums

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/needs-info More information is needed for reproduction
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants