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]: Can't install latest version with the Next.js option #27060

Closed
angel-luis opened this issue May 7, 2024 · 1 comment
Closed

[Bug]: Can't install latest version with the Next.js option #27060

angel-luis opened this issue May 7, 2024 · 1 comment

Comments

@angel-luis
Copy link

Describe the bug

After select a project template, I get an error. I've attached the log.
2024-05-07T18_07_13_587Z-debug-0.log

To Reproduce

pnpm dlx storybook@latest init
Choose a project template › Next.js (TS)

System

Storybook Environment Info:

  System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M2
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v20.11.1/bin/yarn
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm <----- active
    pnpm: 9.1.0 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 124.0.6367.119
    Safari: 17.4.1

Additional context

No response

@angel-luis
Copy link
Author

angel-luis commented May 7, 2024

I've found where is the "bug".

I've tried to install Storybook in a folder named StoryBook. Next.js doesn't support capital letters in the installation directory. Unfortunately this error isn't specified when using the CLI.

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