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 install crashes when using production flag and workspaces #11150

Closed
sebastianbuechler opened this issue May 17, 2024 · 2 comments
Closed
Labels
crash An issue that could cause a crash

Comments

@sebastianbuechler
Copy link

sebastianbuechler commented May 17, 2024

How can we reproduce the crash?

I have a setup with a workspace package.json in the root folder and some workspaces in the folders apps (for different apps as entrypoints) and packages (for reusable packages).

When I run bun install or bun install --frozen-lockfile everything works fine, but bun install --frozen-lockfile --production or even just bun install --production bun crashes with this bun.report.

JavaScript/TypeScript code that reproduces the crash?

No response

Relevant log output

bun install --production
[0.00ms] ".env"
bun install v1.1.7 (b0b7db5c)

============================================================
Bun v1.1.7 (b0b7db5c) Windows x64
Args: "C:\Users\myuser\.bun\bin\bun.exe", "install", "--production"
Features: bunfig dotenv 
Elapsed: 138ms | User: 0ms | Sys: 78ms
RSS: 79.84MB | Peak: 79.84MB | Commit: 125.96MB | Faults: 19685

panic(main thread): Internal assertion failure
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

 https://bun.report/1.1.7/wi1b0b7db5AgKgin5L+7yuIwkz1F+oiC+zk1D0pnkEo2+iE8pvvFq4kBiiJA0eNrzzCtJLcpLzFFILC5OLSrJzM9TSEvMzCktSgUAiSkKPg

Stack Trace (bun.report)

Bun v1.1.7 (b0b7db5) on windows x86_64 [InstallCommand]

panic: Internal assertion failure

@sebastianbuechler sebastianbuechler added the crash An issue that could cause a crash label May 17, 2024
@sebastianbuechler
Copy link
Author

New try but same issue with bun v1.1.8:

Bun v1.1.8 (89d2580) on windows x86_64 [InstallCommand]

panic: Internal assertion failure

@sebastianbuechler
Copy link
Author

Fixed in #11245 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash
Projects
None yet
Development

No branches or pull requests

1 participant