Skip to content

[Bug]: Failed to initialize project with the new 'create' project #1750

@inventor7

Description

@inventor7

Reproduction

run the create command with vite with pnpm or bun

Describe the bug

PS C:\Users<user>\code\ayb\shadcn-create> pnpm dlx shadcn-vue@latest init --preset 1ltZjKHnpKim --template vite
C:\Users<user>\AppData\Local\pnpm-cache\dlx\74253edf686c6886e0a78944e5f8e7b2b407da9e5848ac79ad1e7a5b48a27287\19d51b9176f-5e6c:
 ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER  open@catalog: isn't supported by any available resolver.

This error happened while installing the dependencies of shadcn-vue@2.5.0

An external package outside of the pnpm workspace declared a dependency using
the catalog protocol. This is likely a bug in that external package. Only
packages within the pnpm workspace may use catalogs. Usages of the catalog
protocol are replaced with real specifiers on 'pnpm publish'.

This is likely a bug in the publishing automation of this package. Consider filing
a bug with the authors of:

shadcn-vue@2.5.0

Progress: resolved 25, reused 10, downloaded 0, added 0

System Info

windows 11

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions