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

Failed to move cross-compiled bun binary into cache directory #11198

Open
phenomen opened this issue May 20, 2024 · 0 comments
Open

Failed to move cross-compiled bun binary into cache directory #11198

phenomen opened this issue May 20, 2024 · 0 comments
Labels
bug Something isn't working bundler Something to do with the bundler

Comments

@phenomen
Copy link

What version of Bun is running?

1.1.8

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

bun build ./bin/index.js --compile --target=bun-linux-x64-modern --minify --sourcemap --outfile fvttt

What is the expected behavior?

Linux binary is successfully compiled.

What do you see instead?

ENOENT: Failed to move cross-compiled bun binary into cache directory C:\Users\pheno\.bun\install\cache\bun-linux-x64-v1.1.8
error: script "compile:linux" exited with code 1

image

Additional information

It worked in 1.1.7 (or 1.1.6, not sure).

@phenomen phenomen added the bug Something isn't working label May 20, 2024
@Electroid Electroid added bundler Something to do with the bundler labels May 20, 2024
@Electroid Electroid changed the title Windows-Linux cross-compile: Failed to move cross-compiled bun binary into cache directory Failed to move cross-compiled bun binary into cache directory May 20, 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 bundler Something to do with the bundler
Projects
None yet
Development

No branches or pull requests

2 participants