bun
bun copied to clipboard
bun install does not skip resolution even with lock file present
What version of Bun is running?
1.1.1
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
- Run
bun install
- Delete node_modules
- Run
bun install
What is the expected behavior?
Packages were already resolved and cached in the first install. Subsequent installs should not need to resolve the packages again. It should be instantaneous.
What do you see instead?
Subsequent installs still repeat the package resolution and take as much time as the first install. The caching of packages seemingly makes no difference. The folders inside node_modules do not appear to be symlinks either.
Additional information
On linux (KDE neon), the first install takes about 10s compared to 20s on Windows for the same project. Subsequent installs take mere milliseconds compared to 20s on Windows.