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

Illegal instruction when running bun --watch #9111

Open
narrativefabric opened this issue Feb 26, 2024 · 0 comments
Open

Illegal instruction when running bun --watch #9111

narrativefabric opened this issue Feb 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@narrativefabric
Copy link

narrativefabric commented Feb 26, 2024

What version of Bun is running?

1.0.29+a146856d1

What platform is your computer?

Linux 5.10.60.1-microsoft-standard-WSL2 x86_64 unknown

What steps can reproduce the bug?

bun create elysia ./elysia-example
bun create vite@latest vite-example

Select React
Select Typescript

cp -R vite-example/public/ elysia-example
cd elysia-example/
bun add @elysiajs/static

Replace contents of ./src/index.ts with below:

import { Elysia } from "elysia";
import { staticPlugin } from "@elysiajs/static";

const app = new Elysia().use(staticPlugin()).listen(8080);
bun run dev

Go to http://localhost:8080/public/vite.svg

What is the expected behavior?

No Illegal instruction and process continues to run.

What do you see instead?

error: script "dev" was terminated by signal SIGILL (Illegal instruction)
Illegal instruction

Additional information

Using Docker image: oven/bun:1.0.29

@narrativefabric narrativefabric added the bug Something isn't working label Feb 26, 2024
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

1 participant