Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bun and BunX Support #760

Open
Hachi-R opened this issue Mar 22, 2024 · 1 comment
Open

Add Bun and BunX Support #760

Hachi-R opened this issue Mar 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Hachi-R
Copy link

Hachi-R commented Mar 22, 2024

Version

5.26.2

Describe the bug

when trying to install with bun x typesafe-i18n --setup

[typesafe-i18n] version 5.26.2
✔ Config file '.typesafe-i18n.json' exists already. Do you want to override it? › Yes
[typesafe-i18n] See this link for more information on how to setup this project: https://github.com/ivanhofer/typesafe-i18n/tree/main/packages/generator#options
✔ What is your base locale? … en
? What adapter do you want to use? › - Use arrow-keys. Return to submit.
✔ What adapter do you want to use? › Svelte
✔ Are you using esm modules in your project? › Yes
✔ Are you using TypeScript or JavaScript? › TypeScript
✔ Where do you want your locale files to be located? … ./src/lib/i18n
[typesafe-i18n] generated config file: '.typesafe-i18n.json'
[typesafe-i18n] installing dependencies ...
[typesafe-i18n] ERROR: Unsupported package manager. Please install the 'typesafe-i18n' npm-package manually and open a new issue at https://github.com/ivanhofer/typesafe-i18n/issues and tell us what package manager you are using.

Reproduction

  1. install the latest bun version here;
  2. open an terminal window;
  3. run bun x typesafe-i18n --setup;
  4. answer the questions;
  5. you gets the error.

Logs

~/Pr/P/watch2gether on main !6 ?1 ❯ bun x typesafe-i18n --setup
[typesafe-i18n] version 5.26.2
✔ Config file '.typesafe-i18n.json' exists already. Do you want to override it? › Yes
[typesafe-i18n] See this link for more information on how to setup this project: https://github.com/ivanhofer/typesafe-i18n/tree/main/packages/generator#options
✔ What is your base locale? … en
? What adapter do you want to use? › - Use arrow-keys. Return to submit.
✔ What adapter do you want to use? › Svelte
✔ Are you using esm modules in your project? › Yes
✔ Are you using TypeScript or JavaScript? › TypeScript
✔ Where do you want your locale files to be located? … ./src/lib/i18n
[typesafe-i18n] generated config file: '.typesafe-i18n.json'
[typesafe-i18n] installing dependencies ...
[typesafe-i18n] ERROR: Unsupported package manager. Please install the 'typesafe-i18n' npm-package manually and open a new issue at https://github.com/ivanhofer/typesafe-i18n/issues and tell us what package manager you are using.

If you are using this project in a commercial environment please consider sponsoring 'typesafe-i18n':
https://github.com/sponsors/ivanhofer

Config

not generated

Additional information

No response

@Hachi-R Hachi-R added the bug Something isn't working label Mar 22, 2024
@Hachi-R Hachi-R changed the title Add BunX Support AddBun and BunX Support Mar 22, 2024
@Hachi-R Hachi-R changed the title AddBun and BunX Support Add Bun and BunX Support Mar 22, 2024
@sjaghori
Copy link

sjaghori commented Apr 8, 2024

Thank you for the request, we'll add bun package manager support soon. In the meantime, you could just use npm, pnpm for the setup and then switch to bun package manager after the setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants