Unable to migrate from yarn to bun due to critical bun crashes #1764
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Attempted migration from yarn to bun as requested, but encountered systematic bun crashes across all versions tested (1.1.30-1.3.2, canary).
Issue
Bun fails during dependency resolution with segmentation faults:
Segmentation fault at address 0xB98/0xBC8Assertion failure: Expected metadata to be setTested Configurations
Root Cause
This appears to be a bun bug with complex monorepo dependency graphs. The rrweb project has:
Recommended Alternatives
No changes committed. Proceeding requires choosing an alternative approach or resolving bun's upstream issues.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
bun.report/usr/bin/curl /usr/bin/curl(dns block)edgedl.me.gvt1.com/usr/local/bin/node /usr/local/bin/node install.js(dns block)https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/1036745/chrome-linux.zip/usr/local/bin/node node install.js(http block)/usr/local/bin/node /usr/local/bin/node install.js(http block)https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/869685/chrome-linux.zip/usr/local/bin/node /usr/local/bin/node install.js(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.