Skip to content

Storybook fails #627

Open
Open
@oneezy

Description

@oneezy

when trying npx sv add storybook, it hangs up on this screen:

Justin@Oneezy MINGW64 /v/1-projects/ui
$ npx sv add storybook
┌  Welcome to the Svelte CLI! (v0.8.16)
│
◇  Running external command (npx storybook@latest init --skip-install --no-dev)
╭───────────────────────────────────────────────────────╮
│                                                       │
│   Adding Storybook version 9.0.15 to your project..   │
│                                                       │
╰───────────────────────────────────────────────────────╯
√ What configuration should we install? » Recommended: Component dev, docs, test
 • Detecting project type

Image


it appears to be a windows (git bash) specific bug, or at least i think. i tried running the command through wsl and it got a little further:

justin@Oneezy:/mnt/v/1-projects/ui$ npx sv add storybook
Need to install the following packages:
[email protected]
Ok to proceed? (y)

┌  Welcome to the Svelte CLI! (v0.8.16)
│
◇  Running external command (npx storybook@latest init --skip-install --no-dev)
╭───────────────────────────────────────────────────────╮
│                                                       │
│   Adding Storybook version 9.0.15 to your project..   │
│                                                       │
╰───────────────────────────────────────────────────────╯
✔ New to Storybook? › Yes: Help me with onboarding
 • Detecting project type. ✓

  ✅ Getting the correct version of 5 packages
  ✅ Installing Storybook dependencies
. ✓
> npx [email protected] add --yes --skip-install @storybook/[email protected]
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
Verifying @storybook/addon-a11y
Installing @storybook/addon-a11y@^9.0.15
Adding '@storybook/[email protected]' to the "addons" field in .storybook/main.js
> npx [email protected] add --yes --skip-install @storybook/[email protected]
Verifying @storybook/addon-vitest
Installing @storybook/addon-vitest@^9.0.15
Adding '@storybook/[email protected]' to the "addons" field in .storybook/main.js
╭──────────────────────────────────────────────────────────────────────────────╮
│                                                                              │
│   Storybook was successfully installed in your project! 🎉                   │
│   Additional features: docs, test                                            │
│                                                                              │
│   To run Storybook manually, run npm run storybook. CTRL+C to stop.          │
│                                                                              │
│   Wanna know more about Storybook? Check out https://storybook.js.org/       │
│   Having trouble or want to chat? Join us at https://discord.gg/storybook/   │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
│
◆  Successfully setup add-ons
│
◇  Which package manager do you want to install dependencies with?
│  pnpm
│
■  Failed to install dependencies
│     ╭───────────────────────────────────────────────────────────────────╮
│     │                                                                   │
│     │                Update available! 9.15.4 → 10.12.4.                │
│     │   Changelog: https://github.com/pnpm/pnpm/releases/tag/v10.12.4   │
│     │                 Run "pnpm add -g pnpm" to update.                 │
│     │                                                                   │
│     ╰───────────────────────────────────────────────────────────────────╯
│                                                                                                                                                
│  Progress: resolved 1, reused 0, downloaded 0, added 0
│  Progress: resolved 17, reused 7, downloaded 3, added 0
│  Progress: resolved 21, reused 10, downloaded 6, added 0
│  Progress: resolved 75, reused 55, downloaded 13, added 0
│  Progress: resolved 105, reused 71, downloaded 19, added 0
│  Progress: resolved 167, reused 95, downloaded 21, added 0
│  Progress: resolved 233, reused 120, downloaded 31, added 0
│  Packages: +195
│  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
│  Progress: resolved 256, reused 139, downloaded 38, added 0
│  Progress: resolved 256, reused 149, downloaded 43, added 0
│  Progress: resolved 256, reused 149, downloaded 43, added 26
│  Progress: resolved 256, reused 149, downloaded 43, added 59
│  Progress: resolved 256, reused 149, downloaded 44, added 92
│  Progress: resolved 256, reused 150, downloaded 44, added 117
│   ERR_PNPM_EACCES  EACCES: permission denied, rename '/mnt/v/1-projects/ui/node_modules/.pnpm/[email protected]/node_modules/indent-string_tmp_1808' -> '/mnt/v/1-projects/ui/node_modules/.pnpm/[email protected]/node_modules/indent-string'
│
└  Operation failed.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions