Open alex72598 opened 4 months ago
I tried it today, and the installation was successful. I suspect it is a network problem.
Oh no, I still can't. I was wrong just now. In fact, I found that there is a dependency package in packages.json that doesn't work when it is set as a git repository.
I faced the same issue today. It happens only if there is a dependency specified from git source and only on Windows. Tried running the same code on Linux - it works.
It's probably related to this issue raised for zig language: https://github.com/ziglang/zig/issues/19211 The strangest thing is that it was working for a while and then just stopped. I haven't changed any environment configuration, and couldn't determine the cause
How can we reproduce the crash?
windows 11 run:
Relevant log output
Stack Trace (bun.report)
Bun v1.1.17 (
bb66bba
) on windows x86_64 [InstallCommand]panic: access of union field 'git_clone' while field 'package_manifest' is active
install.zig:6527
:runTasks
install.zig:12813
:installPackages
install.zig:13637
:installWithManager
filter_run.zig:431
:install
cli.zig:1492
:start
cli.zig:62
:start
main.zig:51
:main
int_log10.rs:146
:core::num::int_log10::panic_for_nonpositive_argument
0x1257d
in KERNEL32.DLL0x5af28
in ntdll.dll