我正在尝试在我的外部驱动器上构建铬,因为我的计算机上没有足够的空间。我按照说明做所有事情:https ://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/windows_build_instructions.md
命令运行过程中出现以下错误gclient
:
D:\>gclient
error: could not write config file D:/depot_tools/bootstrap-2@3_8_10_chromium_20_bin/git/etc/gitconfig: File exists
Traceback (most recent call last):
File "D:\depot_tools\bootstrap\bootstrap.py", line 356, in <module>
sys.exit(main(sys.argv[1:]))
File "D:\depot_tools\bootstrap\bootstrap.py", line 321, in main
git_postprocess(template, os.path.join(bootstrap_dir, 'git'))
File "D:\depot_tools\bootstrap\bootstrap.py", line 289, in git_postprocess
call_if_outdated(
File "D:\depot_tools\bootstrap\bootstrap.py", line 138, in call_if_outdated
fn()
File "D:\depot_tools\bootstrap\bootstrap.py", line 282, in configure_git_system
_check_call([git_bat_path, 'config', '--system', 'core.autocrlf', 'false'])
File "D:\depot_tools\bootstrap\bootstrap.py", line 196, in _check_call
raise subprocess.CalledProcessError(proc.returncode, argv, None)
subprocess.CalledProcessError: Command '['D:\\depot_tools\\git.bat', 'config', '--system', 'core.autocrlf', 'false']' returned non-zero exit status 4.
提前感谢您的回复!