oven-sh / bun

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

BrokenPipe error when running a lockfile then breaking the pipe #5828

Open paperdave opened 1 year ago

paperdave commented 1 year ago

What version of Bun is running?

No response

What platform is your computer?

mac

What steps can reproduce the bug?

run bun bun.lockb | head

image

What is the expected behavior?

the error not to be shown. head is supposed to break the pipe to only show the first few lines.

What do you see instead?

No response

Additional information

No response

Jarred-Sumner commented 5 months ago

confirming this is still a bug

# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
# bun ./bun.lockb --hash: 0FFF2CA5F690EC90-85b0f98a287b3db9-81166094E0D0E3FE-a4c5192a9478a6cd

"@biomejs/biome@^1.5.3":
  version "1.7.3"
  resolved "https://registry.npmjs.org/@biomejs/biome/-/biome-1.7.3.tgz"
  integrity sha512-ogFQI+fpXftr+tiahA6bIXwZ7CSikygASdqMtH07J2cUzrpjyTMVc9Y97v23c7/tL1xCZhM+W9k4hYIBm7Q6cQ==
  optionalDependencies:
error: An internal error ocurred (EPIPE)