[GH-ISSUE #109] Use correct package manager #26

Closed
opened 2026-05-06 12:36:36 +02:00 by BreizhHardware · 1 comment

Originally created by @SuperJakov on GitHub (Feb 26, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/109

When running commands like

bun x vinext init

It should download using the package manager that was used to run the script. Currently it used npm while I ran with bun:

Installing vinext, vite...
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @better-auth/core@1.4.9
npm warn Found: @better-fetch/fetch@1.1.21
npm warn node_modules/@better-auth/core/node_modules/@better-fetch/fetch
npm warn
npm warn Could not resolve dependency:
npm warn peer @better-fetch/fetch@"1.1.21" from @better-auth/core@1.4.9
npm warn node_modules/@better-auth/core
npm warn   @better-auth/core@"1.4.9" from better-auth@1.4.9
npm warn   node_modules/better-auth
npm warn   2 more (@better-auth/passkey, @better-auth/telemetry)
Originally created by @SuperJakov on GitHub (Feb 26, 2026). Original GitHub issue: https://github.com/cloudflare/vinext/issues/109 When running commands like ```bash bun x vinext init ``` It should download using the package manager that was used to run the script. Currently it used `npm` while I ran with `bun`: ```bash Installing vinext, vite... npm warn ERESOLVE overriding peer dependency npm warn While resolving: @better-auth/core@1.4.9 npm warn Found: @better-fetch/fetch@1.1.21 npm warn node_modules/@better-auth/core/node_modules/@better-fetch/fetch npm warn npm warn Could not resolve dependency: npm warn peer @better-fetch/fetch@"1.1.21" from @better-auth/core@1.4.9 npm warn node_modules/@better-auth/core npm warn @better-auth/core@"1.4.9" from better-auth@1.4.9 npm warn node_modules/better-auth npm warn 2 more (@better-auth/passkey, @better-auth/telemetry) ⠼ ```
Author
Owner

@yhoungdev commented on GitHub (Feb 26, 2026):

Guess, NPM was the default.

<!-- gh-comment-id:3966032530 --> @yhoungdev commented on GitHub (Feb 26, 2026): Guess, NPM was the default.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#26
No description provided.