3 ms·
This will ship as part of the Bun v1.2.19 release, which we are aiming for tonight. There is a Windows-only bug in the isolated install mode blocking us from u
by Jarred 1y ago
This will ship as part of the Bun v1.2.19 release, which we are aiming for tonight.
There is a Windows-only bug in the isolated install mode blocking us from using isolated installs ourselves in the bun repo, and we need to fix that before we can release this.
If you want to try this early, you can run `bun upgrade --canary` and `bun install --linker=isolated` or put `install.linker = "isolated"` in bunfig.toml.
Isolated installs are a significant performance improvement on Windows (10x, sometimes 20x faster installs) and a minor positive or neutral performance impact on macOS and Linux. More importantly, they make using bun install in monorepos a lot more reliable by preventing dependencies from loading versions of other dependencies they did not specify in their own package.json.
Happy to answer any questions about Bun
- gedy 1y agoBun is great, keep up the good work!
- 8n4vidtmkvmk 1y agoCool. Bun is already pretty fast on Windows, but I welcome more improvements. Thanks for all the great work! FYI, there seems to be some bugs with installs yet that cause bun to crash. Might be related to having an old package-lock or old node_modules or switching back and forth between WSL and Windows proper. Bun just crashes. Deleting all lock files (bun and npms) and node modules usually fixes it.
- jpgvm 1y agoWould it be possible to make the default behavior of the isolated linker "nohoist" the same as pnpm?