storybookjs/storybook

[Bug]: `storybook init` fails in turbo + sveltekit + pnpm monorepo

Open

#28,563 建立於 2024年7月12日

在 GitHub 查看
 (8 留言) (0 反應) (0 負責人)TypeScript (89,909 star) (10,058 fork)batch import
bughelp wantedmonorepospnpmsveltesveltekitturborepo

描述

Describe the bug

In trying to solve Storybook support for Svelte 4 and Storybook 8, I've run across some issues.

When attempting a new turbo + sveltekit + pnpm monorepo, storybook init fails.

Please see the linked repository for more details.

Reproduction link

https://github.com/cge-taal/test-sveltekit-storybook

Reproduction steps

No response

System

Storybook Environment Info:

  System:
    OS: macOS 13.5.1
    CPU: (10) arm64 Apple M1 Pro
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.14.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 10.7.0 - /usr/local/bin/npm
    pnpm: 9.4.0 - /opt/homebrew/bin/pnpm <----- active
  Browsers:
    Safari: 16.6

Additional context

No response

貢獻者指南