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

'bun index.html' gives error which 'http-server' doesn't #18067

Open
GerbenRampaart opened this issue Mar 11, 2025 · 0 comments
Open

'bun index.html' gives error which 'http-server' doesn't #18067

GerbenRampaart opened this issue Mar 11, 2025 · 0 comments
Labels
bake:dev hot-reloading dev server for client+server applications bug Something isn't working

Comments

@GerbenRampaart
Copy link

What version of Bun is running?

1.2.5+013fdddc6

What platform is your computer?

Darwin 23.6.0 x86_64 i386

What steps can reproduce the bug?

I use 'deno docs', which generates documentation in a directory about my library. Basically, it's some small generated web app with readable type information. This is an example of the structure.

Image

When I run this with 'bun index.html' or 'bun /**/*.html' I get this error:

Image

What is the expected behavior?

The expected behaviour is when I run 'bunx http-server':

Image

Now the app renders fine.

What do you see instead?

No response

Additional information

No response

@GerbenRampaart GerbenRampaart added bug Something isn't working needs triage labels Mar 11, 2025
@paperclover paperclover added the bake:dev hot-reloading dev server for client+server applications label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bake:dev hot-reloading dev server for client+server applications bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants