Skip to content

Commit 78e3fd0

Browse files
committed
fix: adding force as a possible fix on windows for shadcn component installs
1 parent 8f9d796 commit 78e3fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/create-app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ export async function createApp(
487487
)
488488
await environment.execute(
489489
'npx',
490-
['shadcn@canary', 'add', ...shadcnComponents],
490+
['shadcn@canary', 'add', '--force', ...shadcnComponents],
491491
resolve(targetDir),
492492
)
493493
s?.stop(`Installed additional shadcn components`)

0 commit comments

Comments
 (0)