Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork484
Open
Description
Describe the bug
npx shadcn-svelte@latest init throws an error.
Error: Process exited with non-zero status (1)
Reproduction
PS D:\Svelte Projects\AlpacaSoft> npx sv create. Need to install the following packages:sv@0.9.9Ok to proceed? (y)┌ Welcome to the Svelte CLI! (v0.9.9)│◇ Which template would you like?│ SvelteKit minimal│◇ Addtype checking with TypeScript?│ Yes, using TypeScript syntax│◆ Project created│◇ What would you like to add to your project? (use arrow keys / space bar)│ prettier, tailwindcss, sveltekit-adapter, mcp│◇ tailwindcss: Which plugins would you like to add?│ none│◇ sveltekit-adapter: Which SvelteKit adapter would you like to use?│ vercel│◇ mcp: Which client would you like to use?│ claude code, VSCode│◇ mcp: What setup you want to use?│ Local│◆ Successfully setup add-ons│◇ Which package managerdo you want to install dependencies with?│ npm││◆ Successfully installed dependencies│ ◇ Successfully formatted modified files│◇ What's next? ───────────────────────────────╮│ ││ 📁 Project steps ││ ││ 1: npm run dev -- --open ││ ││ To close the dev server, hit Ctrl-C ││ ││ Stuck? Visit us at https://svelte.dev/chat ││ │├──────────────────────────────────────────────╯│└ You're all set!PS D:\Svelte Projects\AlpacaSoft> npx sv add tailwindcss┌ Welcome to the Svelte CLI! (v0.9.9)│◇ Which plugins would you like to add?│ none│◆ Successfully setup add-ons│◇ Which package managerdo you want to install dependencies with?│ npm│◇ Successfully formatted modified files│└ You're all set!PS D:\Svelte Projects\AlpacaSoft> npx shadcn-svelte@latest init┌ shadcn-svelte v1.0.8│└ Error: Process exited with non-zero status (1) at fG._waitForOutput (file:///D:/tmp/npm-cache/_npx/a9116f6e444a1e9e/node_modules/shadcn-svelte/dist/index.js:125:28936) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async vd (file:///D:/tmp/npm-cache/_npx/a9116f6e444a1e9e/node_modules/shadcn-svelte/dist/index.js:125:35223) at async Eve (file:///D:/tmp/npm-cache/_npx/a9116f6e444a1e9e/node_modules/shadcn-svelte/dist/index.js:382:1800) at async Command.<anonymous> (file:///D:/tmp/npm-cache/_npx/a9116f6e444a1e9e/node_modules/shadcn-svelte/dist/index.js:382:1324)
Logs
System Info
System: OS: Windows 11 10.0.26100 CPU: (12) x64 AMD Ryzen 5 5600X 6-Core Processor Memory: 12.07 GB / 31.92 GB Binaries: Node: 22.17.1 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.17 - C:\Users\Main\AppData\Roaming\npm\yarn.CMD npm: 11.4.2 - C:\Program Files\nodejs\npm.CMD pnpm: 9.3.0 - C:\Users\Main\AppData\Roaming\npm\pnpm.CMD Browsers: Chrome: 141.0.7390.108 Edge: Chromium (140.0.3485.54) Firefox: 138.0.4 - C:\Program Files\Mozilla Firefox\firefox.exe Firefox Developer Edition: 139.0 - C:\Program Files\Firefox Developer Edition\firefox.exe Internet Explorer: 11.0.26100.1882
Severity
blocking all usage of shadcn-svelte