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]: Components and utils are not creating #940

Closed
1 of 2 tasks
Masumrahmanhasan opened this issue Dec 5, 2024 · 3 comments
Closed
1 of 2 tasks

[Bug]: Components and utils are not creating #940

Masumrahmanhasan opened this issue Dec 5, 2024 · 3 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@Masumrahmanhasan
Copy link

Reproduction

install latest nuxt and setup via docs

Describe the bug

when using latest nuxt while setuping the shadcn-vue first error comes is @nuxtjs/color-mode related and then after manually installing this and then setup no components is install its always says
✔ Component sidebar already exists. Would you like to overwrite? … yes
✔ Done.

System Info

System:
    OS: macOS 15.1.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 92.34 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 10.8.1 - ~/Library/Application Support/Herd/config/nvm/versions/node/v20.16.0/bin/npm
    pnpm: 9.14.4 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 131.0.6778.86
    Safari: 18.1.1
  npmPackages:
    @vueuse/core: ^12.0.0 => 12.0.0 
    nuxt: ^3.14.1592 => 3.14.1592 
    radix-vue: ^1.9.10 => 1.9.10 
    shadcn-nuxt: 0.11.3 => 0.11.3 
    vue: latest => 3.5.13

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
@Masumrahmanhasan Masumrahmanhasan added the bug Something isn't working label Dec 5, 2024
@ROVND
Copy link

ROVND commented Dec 9, 2024

Snipaste_2024-12-09_15-04-23
when running npx shadcn-vue@latest init in a nuxt3 project do not specify your own tsconfig.json path specify .nuxt/tsconfig.json.

@Masumrahmanhasan
Copy link
Author

the docs needs to be updated

@sadeghbarati sadeghbarati added the duplicate This issue or pull request already exists label Dec 11, 2024
@sadeghbarati
Copy link
Collaborator

sadeghbarati commented Dec 11, 2024

If you are using Nuxt and JS check this #291 (comment), components and utils generated outside of the project directory

With new CLI implementation this issue and related issues will be resolved

@sadeghbarati sadeghbarati closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants