When running npx sv create my-project, at the very last step, bun is selected as the default package manager to use. I do not have bun installed, and even if I did, npm should be the default. If we want better logic, sv could remember which manager was used last time.
npx sv --version
0.5.9
Reproduction
npx sv create my-project
Logs
➜ GitHub npx sv create sveltekit-fonts-examples
┌ Welcome to the Svelte CLI! (v0.5.9)
│
◇ Which template would you like?
│ SvelteKit minimal
│
◇ Add type checking with Typescript?
│ Yes, using Typescript syntax
│
◆ Project created
│
◇ What would you like to add to your project? (use arrow keys / space bar)
│ prettier, eslint
│
◇ Which package manager do you want to install dependencies with?
│ npm
│
◆ Successfully setup integrations
│
◇ Successfully installed dependencies
│
◇ Successfully formatted modified files
│
◇ Project next steps ─────────────────────────────────────────────────────╮
│ │
│ 1: cd sveltekit-fonts-examples │
│ 2: git init && git add -A && git commit -m "Initial commit" (optional) │
│ 3: npm run dev -- --open │
│ │
│ To close the dev server, hit Ctrl-C │
│ │
│ Stuck? Visit us at https://svelte.dev/chat │
│ │
├──────────────────────────────────────────────────────────────────────────╯
│
└ You're all set!
➜ GitHub npx sv create sveltekit-fonts-exampleasfasf
┌ Welcome to the Svelte CLI! (v0.5.9)
│
◇ Which template would you like?
│ SvelteKit minimal
│
◇ Add type checking with Typescript?
│ Yes, using Typescript syntax
│
◆ Project created
│
◇ What would you like to add to your project? (use arrow keys / space bar)
│ none
│
■ Which package manager do you want to install dependencies with?
│ bun
│
└ Operation cancelled.
Describe the bug
When running
npx sv create my-project
, at the very last step, bun is selected as the default package manager to use. I do not have bun installed, and even if I did,npm
should be the default. If we want better logic,sv
could remember which manager was used last time.Reproduction
npx sv create my-project
Logs
System Info
Severity
annoyance
Additional Information
No response