oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
71.89k stars 2.56k forks source link

astro dev not work in v1.0.10 #6953

Closed Farnsi closed 8 months ago

Farnsi commented 8 months ago

What version of Bun is running?

1.0.10+d85bd49d8

What platform is your computer?

Linux 6.2.0-36-generic x86_64 x86_64

What steps can reproduce the bug?

Example from https://bun.sh/guides/ecosystem/astro v1.0.9 works, upgrade bun to v1.0.10 and start the dev server work, but respond with a 404 page instead of index.

What is the expected behavior?

serve index.astro

What do you see instead?

404: Not Found Path: /

Additional information

No response

btakita commented 8 months ago

Same issue here. astro build with astro preview does work.

So how does one downgrade to bunjs 1.0.9? https://github.com/oven-sh/bun/discussions/6979

Jarred-Sumner commented 8 months ago

The cause was https://github.com/oven-sh/bun/commit/8130d9f3e1e578f09ba2d2e5aff0a66cde704708.

We will ship a new release tonight, and add an integration test for Astro usage this week.