storybookjs/storybook

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

开放

#28,563 创建于 2024年7月12日

 (8 条评论) (0 个反应) (0 位负责人)TypeScript (10,058 个派生)batch import
bughelp wantedmonorepospnpmsveltesveltekitturborepo

仓库指标

星标
 (89,909 个星标)
PR 合并指标
 (平均合并 7天 22小时) (30 天内合并 184 个 PR)

描述

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

贡献者指南