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 generate bytecode for ./index.js #15351

Open
Gobd opened this issue Nov 22, 2024 · 0 comments
Open

Failed to generate bytecode for ./index.js #15351

Gobd opened this issue Nov 22, 2024 · 0 comments
Labels
bug Something isn't working build An issue related to building or compiling bundler Something to do with the bundler

Comments

@Gobd
Copy link

Gobd commented Nov 22, 2024

What version of Bun is running?

1.1.36+ededc168c

What platform is your computer?

Darwin 24.1.0 arm64 arm

What steps can reproduce the bug?

What can I do to debug why this is failing? The compile option works fine when I remove the bytecode option.

Building in Docker with

bun build \
    --compile src/index.ts \
    --bytecode \
    --target "bun-linux-${TARGETARCH}" \
    --sourcemap \
    --outfile /api \
    --external "./config/config*"

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

@Gobd Gobd added bug Something isn't working needs triage labels Nov 22, 2024
@RiskyMH RiskyMH added build An issue related to building or compiling bundler Something to do with the bundler and removed needs triage labels Nov 24, 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 build An issue related to building or compiling bundler Something to do with the bundler
Projects
None yet
Development

No branches or pull requests

2 participants