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

GitHub Actions bunx --bun vite build error #5008

Closed
serhii-chernenko opened this issue Sep 11, 2023 · 2 comments
Closed

GitHub Actions bunx --bun vite build error #5008

serhii-chernenko opened this issue Sep 11, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@serhii-chernenko
Copy link

serhii-chernenko commented Sep 11, 2023

What version of Bun is running?

1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983

What platform is your computer?

ubuntu-latest

What steps can reproduce the bug?

I've created the previous issue:
#4961

It has been fixed, but I have the next error:

failed to load config from /home/runner/work/bun/bun/vite.config.ts
error during build:
undefined
error: "vite" exited with code 1 (SIGHUP)
error: script "build" exited with code 1 (SIGHUP)
Error: Process completed with exit code 1.

with the same command:

"build": "tsc && bunx --bun vite build",

when I run

vite build

everything is fine

What is the expected behavior?

the command is successfully run via github actions

bunx --bun vite build

What do you see instead?

I see the error

Additional information

No response

@serhii-chernenko serhii-chernenko added the bug Something isn't working label Sep 11, 2023
@HobMartin
Copy link

Hey, @serhii-chernenko
tsc && bunx --bun vite build via GitHub actions works for me. Can you check again?

Bun version 1.0.2+37edd5a6e389265738e89265bcbdf2999cb81a49

@serhii-chernenko
Copy link
Author

yeah, now everything looks fine @HobMartin
image

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

2 participants