Bug if running bun add
on a parent directory to the actual project
#18040
Labels
bun install
Something that relates to the npm-compatible client
crash
An issue that could cause a crash
macOS
An issue that occurs on macOS
How can we reproduce the crash?
The proximate cause of the crash is pretty easy. I was adding a dependency, specifically drizzle-seed to the parent directory instead of the actual project. I should add that the action was user error, but I figure segfaulting is not the desirable outcome to this action.
foo/
foo/bar
Relevant log output
Stack Trace (bun.report)
Bun v1.2.4 (
fd9a5ea
) on macos aarch64 [AddCommand]Segmentation fault at address 0x534E1FFFFF5
env_loader.Parser.parse__anon_32440
env_loader.Loader.loadEnvFile__anon_32526
env_loader.Loader.load__anon_32542
install.install.PackageManager.init
install.install.PackageManager.updatePackageJSONAndInstallAndCLI
install.install.PackageManager.updatePackageJSONAndInstall
cli.add_command.AddCommand.exec
cli.Cli.start
main
Sentry Issue: BUN-E0N
The text was updated successfully, but these errors were encountered: