-
Notifications
You must be signed in to change notification settings - Fork 373
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]: v0.10.5 - Unable to add components using npx #560
Comments
@philliphartin JS or TS project? |
It was a TS project (Nuxt) |
Same here on nuxt project(tried
but cannot find files in
|
Same problem. |
same using node v20.13.1 |
Same here
|
Same issue for me with Nuxt and shadcn-vue@latest. Works fine with v0.10.4 |
Hey guys.. I've just tested on Stackblitz using v0.10.5 and latest Nuxt, seems to be fine tho 🤔 |
Maybe it only happens on Windows? I'm not sure what environment StackBlitz uses. |
If you are in Nuxt/JS project this issue might help (component added outside of the project directory) |
For my case (Nuxt/TS) the components were being added to the parent dir, this solution did fix the issue with detecting root dir. |
Did not fix the issue for me. |
@diakonovm can you share what kind of error message you got? We need more details in what is the root cause of this issue |
Got the same problem as well and this did not work for me but I was able to make it work by deleting the Hope this solve your problem as well. Nuxt: 3.11.2 |
I've been finding the same as the above. Neither the linked #291 nor deleting the As above, when I run Nuxt app, on a Mac, using npm. |
Just tried it again and it only works when #291 (comment) is added to the |
This seems to work |
@kawoki Ah ... yes! Thanks. The order matters. |
Daniel Roe quote
|
i made an npm command that moves the folders for windows. "shadcnmove": "robocopy \"C:\\Users\\USER_NAME\\code\\components\\ui\" \"C:\\Users\\USER_NAME\\code\\PROJECT_NAME\\components\\ui\" /move /e", after install i run npm run shadcnmove |
For those who are using Nuxt, I fixed it by setting the
And as an extra information, we should set the
|
Fixed it for me too, thank you! I had |
Adding the following to nuxt.config.ts worked for me
|
Interesting behaviour I noticed is that having
|
Should be fixed now with the recent release, and updated docs 😁 |
Reproduction
Use the CLI
Describe the bug
Since the latest release the
npx shadcn-vue@latest add tabs
helper no longer works.Currently using
0.10.4
to keep functionality going.System Info
Contributes
The text was updated successfully, but these errors were encountered: