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

bunx triggers external command #18127

Open
pandasoli opened this issue Mar 12, 2025 · 0 comments
Open

bunx triggers external command #18127

pandasoli opened this issue Mar 12, 2025 · 0 comments
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client bunx Something that has to do with `bunx`

Comments

@pandasoli
Copy link

What version of Bun is running?

1.2.5

What platform is your computer?

Linux 6.13.6 x86_64 unknown

What steps can reproduce the bug?

On another linux system I can see that bunx is just a symlink to bun, so we must create it first:

ln -s $HOME/.bun/bin/bun $HOME/.bun/bin/bunx

Then use bunx to create a sveltekit project:

bunx sv create my-app

What is the expected behavior?

┌  Welcome to the Svelte CLI! (v0.5.7)
│
◇  Which template would you like?
│  SvelteKit demo
│
◇  Add type checking with Typescript?
│  Yes, using Typescript syntax
│
◆  Project created
│
◇  What would you like to add to your project?
│  none
│
◇  Which package manager do you want to install dependencies with?
│  bun
│
◇  Successfully installed dependencies
│
◇  Project next steps ─────────────────────────────────────────────────────╮
│                                                                          │
│  1: cd my-app                                                            │
│  2: git init && git add -A && git commit -m "Initial commit" (optional)  │
│  3: bun run dev -- --open                                                │
│                                                                          │
│  To close the dev server, hit Ctrl-C                                     │
│                                                                          │
│  Stuck? Visit us at https://svelte.dev/chat                              │
│                                                                          │
├──────────────────────────────────────────────────────────────────────────╯
│
└  You're all set!

Like https://bun.sh/guides/ecosystem/sveltekit shows and works on Gentoo GNU/Linux.

What do you see instead?

fail: my-app: can't change to service directory: No such file or directory

Because it runs sv create my-app, and sv is the cli of runit (KISS' service manager).

Additional information

My system is actually KISS Linux, it's very minimal to the point there are no much things you can call 'kiss-specific'. It's just the bare bones, almost LFS.

@pandasoli pandasoli added bug Something isn't working needs triage labels Mar 12, 2025
@RiskyMH RiskyMH added bun install Something that relates to the npm-compatible client bunx Something that has to do with `bunx` and removed needs triage labels Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bun install Something that relates to the npm-compatible client bunx Something that has to do with `bunx`
Projects
None yet
Development

No branches or pull requests

2 participants