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

[Bug] bunx --bun vite build doesn't throw errors #46

Open
KaKi87 opened this issue Feb 1, 2024 · 7 comments
Open

[Bug] bunx --bun vite build doesn't throw errors #46

KaKi87 opened this issue Feb 1, 2024 · 7 comments

Comments

@KaKi87
Copy link

KaKi87 commented Feb 1, 2024

Hi,

When there is a SvelteKit bundling error, the bunx --bun vite build command doesn't throw it but quietly generates a .svelte-kit directory without a build directory.

Thanks

@KaKi87
Copy link
Author

KaKi87 commented Feb 1, 2024

Hi @catdadcode would you be willing to enable issues on your fork repo ? Thanks

@MyWay
Copy link

MyWay commented Mar 4, 2024

Same here.

@zainokta
Copy link

I had the same issue, then I tried using npm run build instead of bun run build and changed the adapter to another one for node.
Turns out there was an error in my code, after I fixed that error I was able to build it.

@KaKi87
Copy link
Author

KaKi87 commented Apr 28, 2024

Where was the error logged ?

@zainokta
Copy link

when using npm run build the error logged on the terminal, like this
image

I don't know why when using bun it was not showing the error log

@KaKi87 KaKi87 changed the title [Question] No build directory [Bug] bunx --bun vite build doesn't throw errors Apr 28, 2024
@KaKi87
Copy link
Author

KaKi87 commented Apr 28, 2024

Well, the error not being thrown is the issue then.

The thing is, I'm using exclusive Bun APIs, such as bun:sqlite, so I can't try Node at all.

@chevcast
Copy link

chevcast commented May 2, 2024

Hi @catdadcode would you be willing to enable issues on your fork repo ? Thanks

This is done now. Please feel free to open issues at https://github.com/catdadcode/svelte-adapter-bun/issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants