Open Pixeluted opened 7 months ago
Can't reproduce. I can install deps just fine on my drive C:/ and D:/
Is your D:/ external or internal?
Disk 0 via SATA, Disk 1 via NVMe. I have a laptop. Both is internal.
@Pixeluted mine is external and I seem to have the same problem
$ bun install --verbose
bun install v1.1.5 (b257a309)
[0.00ms] [cache hit] @rescript/core
- "@rescript/core": "^1.3.0" - @rescript/core@1.3.0
[0.00ms] [cache hit] rescript
- "rescript": "^11.1.0" - rescript@11.1.0
warn: CreateHardLinkW failed, falling back to CopyFileW: \\?\C:\Users\me\.bun\install\cache\@rescript\core@1.3.0\CHANGELOG.md - \\?\F:\Projects\res\node_modules\@rescript\core\CHANGELOG.md
📦 Installing [3/3] Clean lockfile: 3 packages - 3 packages in 43.8us
Blocked 1 scripts for: rescript@11.1.0
-- BEGIN SHA512/256(`${alphabetize(name)}@${order(version)}`) --
@rescript/core@1.3.0
rescript@11.1.0
-- END HASH--
🔒 Saving lockfile... Saving 1 trees
Saving 2 hoisted_dependencies
Saving 3 resolutions
Saving 3 dependencies
Saving 6 extern_strings
Saving 186 string_bytes
EINVAL: Failed to replace old lockfile with new lockfile on disk
I have the same problem. My drive is d:/ and external ssd (by usb)
Also fails when running from WSL.
EDIT: installing Bun using a different method seems to have fixed the issue. I initially had installed using npm, and now installed using curl.
What version of Bun is running?
1.1.3+2615dc742
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
What is the expected behavior?
It should install/add the package to my project
What do you see instead?
Additional information
Tried this on my C: drive and it worked fine.