Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: error: could not determine executable to run for package shadcn-vue #938

Open
2 tasks
Us3r-gitHub opened this issue Dec 4, 2024 · 1 comment
Open
2 tasks
Labels
bug Something isn't working

Comments

@Us3r-gitHub
Copy link

Us3r-gitHub commented Dec 4, 2024

Reproduction

Describe the bug

I'm encountering an issue while trying to add the component

I run the following command: bun x shadcn-vue@latest add alert-dialog and return error: could not determine executable to run for package shadcn-vue

image

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (8) x64 Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
    Memory: 10.35 GB / 23.85 GB
  Binaries:
    Node: 20.16.0 - E:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - E:\Program Files\nodejs\yarn.CMD
    npm: 10.8.1 - E:\Program Files\nodejs\npm.CMD
    pnpm: 9.12.3 - E:\Program Files\nodejs\pnpm.CMD
    bun: 1.1.6 - ~\.bun\bin\bun.EXE
  Browsers:
    Edge: Chromium (127.0.2651.98)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @vueuse/core: ^11.3.0 => 11.3.0
    nuxt: ^3.14.159 => 3.14.159
    radix-vue: ^1.9.8 => 1.9.9
    shadcn-nuxt: ^0.11.2 => 0.11.2
    vue: latest => 3.5.12

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
@Us3r-gitHub Us3r-gitHub added the bug Something isn't working label Dec 4, 2024
@sadeghbarati
Copy link
Collaborator

sadeghbarati commented Dec 4, 2024

We should add bun export field in shadcn-vue package.json

eg. https://github.com/unjs/ofetch/blob/main/package.json#L13

#917

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants