bun icon indicating copy to clipboard operation
bun copied to clipboard

bun install from symlinked folder

Open guybarnard opened this issue 3 years ago • 0 comments
trafficstars

Version

0.1.5

Platform

21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:22 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T6000 arm64

What steps will reproduce the bug?

cd ~/projects # a symlinked folder that is actually on another logical drive 
bun create hono ./bun-hono
cd bun-hono
bun install
Failed to install 2 packages
[9.00ms] done
error: Unexpected installing hono
error: Unexpected installing bun-types

How often does it reproduce? Is there a required condition?

If the packages being installed have not been installed before the error happens every time.

If the packages have been installed previously (say via the workaround), no error occurs

What is the expected behavior?

bun install v0.1.5
  🔍 Resolving [1/2] 
[49.00ms] git
 + [email protected]
 + [email protected]

What do you see instead?

Failed to install 2 packages
[9.00ms] done
error: Unexpected installing hono
error: Unexpected installing bun-types

Additional information

Workaround 1

bun install --backend=copyfile

Workaround 2

Run directly from a folder on the os volume, not a symlinked folder

cd ~
mkdir bun-projects
cd bun-projects
bun create hono bun-hono
cd bun-hono
bun install

guybarnard avatar Jul 30 '22 11:07 guybarnard