oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.41k stars 2.7k forks source link

Hundreds of looping symlinked files created when installing typescript on android in a manjaro proot environment #2349

Open pfgithub opened 1 year ago

pfgithub commented 1 year ago

What version of Bun is running?

0.5.7

What platform is your computer?

Linux 5.10.107-android13-4-00004-gf0fe4f768061-ab8935229 aarch64 unknown

What steps can reproduce the bug?

bun add typescript
bun run tsc --noEmit

What is the expected behavior?

Typescript runs

What do you see instead?

bun run tsc --noEmit

error: SymLinkLoop reading "/home/pfg/.bun/install/cache/typescript@4.9.5/lib/tsc.js"

error: "tsc" exited with code 1 (SIGHUP)
u0_a269@localhost ~/m/h/p/J/amvjire> readlink ../../.bun/install/cache/typescript@4.9.5/lib/tsc.js
/data/data/com.termux/files/home/manjaro/home/pfg/.bun/install/cache/typescript@4.9.5/lib/.l2s.tsc.js0001
u0_a269@localhost ~/m/h/p/J/amvjire> readlink /data/data/com.termux/files/home/manjaro/home/pfg/.bun/install/cache/typescript@4.9.5/lib/.l2s.tsc.js0001
/data/data/com.termux/files/home/manjaro/home/pfg/.bun/install/cache/typescript@4.9.5/lib/.l2s.tsc.js0001.0002
u0_a269@localhost ~/m/h/p/J/amvjire> readlink /data/data/com.termux/files/home/manjaro/home/pfg/.bun/install/cache/typescript@4.9.5/lib/.l2s.tsc.js0001.0002
/data/data/com.termux/files/home/manjaro/home/pfg/.bun/install/cache/typescript@4.9.5/lib/.l2s..l2s.tsc.js0001.00020001
u0_a269@localhost ~/m/h/p/J/amvjire>

Screenshot_20230308-130133

Additional information

If this doesn't occur on other platforms, it's probably an issue with the manjaro proot environment specifically

github-actions[bot] commented 1 month ago

This issue is stale and may be closed due to inactivity. If you're still running into this, please leave a comment.