Describe the bug
I simply create a new project with: npx sv create. The interactive steps are shown, I select the required presets and finally it asks: "Which package manager do you want to use?", this is where it goes wrong: I choose pnpm it shows the following in my terminal:
To skip prompts next time, run:
● pnpm dlx sv@0.17.0 create --template minimal --types ts --add prettier eslint vitest="usages:unit,component" playwright tailwindcss="plugins:none" drizzle="database:postgresql+postgresql:neon" better-auth="demo:none" ai-tools="ide:claude-code+delivery:plugin" --install pnpm .
│
■ Failed to install dependencies
│ Error: ERR_PNPM_OTHER_PM_EXPECTED
│
│ × This project is configured to use yarn
│ help: Run a one-off command with "pnpm dlx yarn <command>", or link a yarn
│ command that follows this project's pin with "pnpm shim add yarn".
│
└ Operation failed.
When I check the package.json it does indeed have the yarn package manager referenced in the packageManager field. Why is that? I explicitly choose pnpm NOT yarn.
Reproduction
To reproduce simply run the normal sv command: npx sv create .. When running the command with a directory name (npx sv create my-app) it does actually seem to work properly but not when you are in the current directory.
Logs
System Info
System:
OS: Windows 11 10.0.26200
CPU: (32) x64 AMD Ryzen 9 7950X3D 16-Core Processor
Memory: 45.03 GB / 63.11 GB
Binaries:
Node: 22.16.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - C:\Program Files\nodejs\yarn.CMD
npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD
pnpm: 12.4.1 - %APPDATA%\Local\pnpm\bin\pnpm.CMD
Deno: 2.6.3 - %USERPROFILE%\.deno\bin\deno.EXE
Browsers:
Edge: Chromium (152.0.4191.53)
Severity
annoyance
Additional Information
No response
Describe the bug
I simply create a new project with:
npx sv create. The interactive steps are shown, I select the required presets and finally it asks: "Which package manager do you want to use?", this is where it goes wrong: I choosepnpmit shows the following in my terminal:When I check the
package.jsonit does indeed have theyarnpackage manager referenced in thepackageManagerfield. Why is that? I explicitly choose pnpm NOT yarn.Reproduction
To reproduce simply run the normal
svcommand:npx sv create .. When running the command with a directory name (npx sv create my-app) it does actually seem to work properly but not when you are in the current directory.Logs
System Info
System: OS: Windows 11 10.0.26200 CPU: (32) x64 AMD Ryzen 9 7950X3D 16-Core Processor Memory: 45.03 GB / 63.11 GB Binaries: Node: 22.16.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.22 - C:\Program Files\nodejs\yarn.CMD npm: 10.9.2 - C:\Program Files\nodejs\npm.CMD pnpm: 12.4.1 - %APPDATA%\Local\pnpm\bin\pnpm.CMD Deno: 2.6.3 - %USERPROFILE%\.deno\bin\deno.EXE Browsers: Edge: Chromium (152.0.4191.53)Severity
annoyance
Additional Information
No response