Bun windows copyfile backend
Skill kjuhwa/skills-hub/skills/cli/bun-windows-copyfile-backend
Bun on Windows 에서 `bun install` 이 `Failed to link ... EUNKNOWN` 으로 실패할 때, `--backend=copyfile` 로 symlink 경로를 파일 복사로 우회한다.From its SKILL.md
npx -y skills add kjuhwa/skills-hub --skill bun-windows-copyfile-backendAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.8 KB, 486 tokens by cl100k_base, as published. Nobody here has run it
bun-windows-copyfile-backend
Purpose
bun install 이 Windows 에서 error: Failed to link <pkg>: EUNKNOWN 로 실패할 때, 관리자 권한 없이 즉시 우회한다.
When to Activate
- OS: Windows (10/11, Git Bash / PowerShell 환경)
- Bun 1.3.x 이상
- 에러:
Failed to link @xxx/yyy: EUNKNOWN반복
원인
Bun 은 기본적으로 node_modules 에 symlink 를 만든다. Windows 는 개발자 모드 또는 관리자 권한이 없으면 symlink 생성 실패 → link step EUNKNOWN.
Fix
설치 명령에 --backend=copyfile 플래그를 추가:
bun install --backend=copyfile
symlink 대신 파일 복사로 node_modules 를 구성한다. 디스크 사용량이 약간 늘지만 Windows 에서 안정적이다.
영속화 옵션
.bunfig.toml에 기록:[install] backend = "copyfile"- 또는 CI/개발 스크립트에
bun install --backend=copyfile를 하드코딩.
Verify
ls node_modules/<pkg> # 실제 파일 (심볼릭 링크 아님) 인지 확인
PowerShell: Get-Item node_modules\<pkg> | Select-Object LinkType. LinkType 가 $null 이면 copy 성공.
참고
- Claude Code gstack skill 의
browse바이너리 빌드 시에도 동일 이슈 재현됨. - Node 호환 bundle 을 생성해야 하는 Windows 환경에서는
scripts/build-node-server.sh같은 별도 후처리가 필요할 수 있다.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.