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

Bugs when running @next CLI #1530

Open
vrn-hkz opened this issue Dec 2, 2024 · 0 comments
Open

Bugs when running @next CLI #1530

vrn-hkz opened this issue Dec 2, 2024 · 0 comments
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@vrn-hkz
Copy link

vrn-hkz commented Dec 2, 2024

Describe the bug

Running bunx shadcn-svelte@next init and bunx shadcn-svelte@next add button does not install bits-ui as a dependency and int $lib/components/ui/button/button.svelte, import type { WithElementRef } from "bits-ui"; gives an error in the IDE once bits-ui is installed:
image

It still compiles and runs, and the button works, but wanted to point this out.

Reproduction

In a brand new [email protected] project run bunx shadcn-svelte@next init and bunx shadcn-svelte@next add button

Logs

No response

System Info

System:
    OS: Linux 6.9 Pop!_OS 22.04 LTS
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
    Memory: 15.78 GB / 31.29 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 22.6.0 - ~/.asdf/installs/nodejs/22.6.0/bin/node
    npm: 10.8.2 - ~/.asdf/plugins/nodejs/shims/npm
    pnpm: 9.1.1 - ~/.local/share/pnpm/pnpm
    bun: 1.1.39 - ~/.bun/bin/bun
  Browsers:
    Chrome: 131.0.6778.85
  npmPackages:
    @sveltejs/kit: ^2.0.0 => 2.9.0 
    bits-ui: ^0.21.16 => 0.21.16 
    svelte: ^5.0.0 => 5.4.0

Severity

annoyance

@huntabyte huntabyte added the type: bug A confirmed report of unexpected behavior in the application label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants