Skip to content

fix(storybook): allow esbuild build script with pnpm dlx - #1426

Merged
manuel3108 merged 1 commit into
sveltejs:mainfrom
jycouet:pnpx-sv-latest-create-fails-with-error-err-pnpm-ig
Oct 17, 2026
Merged

manuel3108 merged 1 commit into
sveltejs:mainfrom
jycouet:pnpx-sv-latest-create-fails-with-error-err-pnpm-ig

Conversation

@jycouet

@jycouet jycouet commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Closes #1425

Description

Newer pnpm fails pnpm dlx create-storybook on the ignored esbuild build script, so pass --allow-build=esbuild when using pnpm.

Checklist

  • Update snapshots (if applicable)
  • Add a changeset (if applicable)
  • Allow maintainers to edit this PR
  • I care about what I'm doing, no matter the tool I use (Notepad, Sublime, VSCode, AI...)

@pkg-svelte-dev

Copy link
Copy Markdown

Install the latest version of sv from accadac:

pnx https://pkg.svelte.dev/sv/c/accadacad26ca15377738c06bb51a5501cc9001a create

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/cli/pr/1426

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

changeset-bot Bot commented Oct 16, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: accadac

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sv Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@manuel3108
manuel3108 merged commit ce469a8 into sveltejs:main Oct 17, 2026
7 of 8 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pnpx sv@latest create fails with Error: ERR_PNPM_IGNORED_BUILDS with Storybook dependency

2 participants