unovue / shadcn-vue

Vue port of shadcn-ui
https://www.shadcn-vue.com/
MIT License
4.89k stars 280 forks source link

[Bug]: Issue on CodeSandbox #161

Closed maelp closed 11 months ago

maelp commented 11 months ago

Environment

Developement/Production OS: Windows 10 19043.1110
Node version: 16.0.0
Package manager: pnpm@8.6.0
Radix Vue version: 1.0.0
Shadcn Vue version: 1.0.0
Vue version: 3.0.0
Nuxt version: 3.0.0
Nuxt mode: universal
Nuxt target: server
CSS framework: tailwindcss@3.3.3
Client OS: Windows 10 19043.1110
Browser: Chrome 90.0.4430.212

Link to minimal reproduction

None

Steps to reproduce

When opening the "Dialog" component StackBlitz link, I have this error

image

Describe the bug

Error with Node version

Expected behavior

No response

Conext & Screenshots (if applicable)

No response

maelp commented 11 months ago

Sorry the bug is in CodeSandBox

there's also an issue in StackBlitz, which is that you use the CLI with -y flag but it still asks for input from user and hangs

image
sadeghbarati commented 11 months ago

Sorry the bug is in CodeSandBox

there's also an issue in StackBlitz, which is that you use the CLI with -y flag but it still asks for input from user and hangs

image

Tested Stackblitz/Codesandbox, you should add -o or --overwrite

Like this

shadcn-vue add button dialog input -y -o

Use shadcn-vue CLI --help flag for each command you want to use