Error when build code

Hello team,

I am clone Brave Browser source from git hub. I have some questions.

  • What is IDE I can use for open source code?
  • After clone and initialize the repo, I am run build Brave but have some error:
    $ npm run build

brave@0.73.29 build C:\brave-browser
node ./scripts/commands.js build

touch original files overridden by chromium_src…
touch original vector icon files overridden by brave/vector_icons…
update branding…
building brave…
update omaha midl files…
C:\brave-browser\src: gn gen C:\brave-browser\src\out\Debug --args=“fieldtrial_testing_like_official_build=true safe_browsing_mode=1 brave_services_key=”" root_extra_deps=[“//brave”] is_component_build=true proprietary_codecs=true ffmpeg_branding=“Chrome” enable_nacl=false enable_widevine=true target_cpu=“x64” target_apk_base=“classic” is_official_build=false is_debug=true dcheck_always_on=true brave_channel=“development” google_api_key=“AIzaSyAH90V94EcZBP5oH7oc-mXQrSKgASVxER8” brave_google_api_key=“AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q” brave_google_api_endpoint=“https://www.googleapis.com/geolocation/v1/geolocate?key=” brave_infura_project_id=“” brave_product_name=“Brave” brave_project_name=“brave” brave_version_major=“0” brave_version_minor=“73” brave_version_build=“29” chrome_version_string=“78.0.3904.70” chrome_version_major=“78” safebrowsing_api_endpoint=“safebrowsing.brave.com” brave_referrals_api_key=“” enable_hangout_services_extension=true enable_cdm_host_verification=false brave_safetynet_api_key=“” symbol_level=2 enable_profiling=true is_win_fastlink=true cc_wrapper=“C:\brave-browser\src\brave\script\redirect-cc.cmd” "
Traceback (most recent call last):
File “C:/brave-browser/src/build/toolchain/win/setup_toolchain.py”, line 297, in
main()
File “C:/brave-browser/src/build/toolchain/win/setup_toolchain.py”, line 274, in main
assert vc_bin_dir
AssertionError
ERROR at //build/toolchain/win/BUILD.gn:348:24: Script returned non-zero exit code.
win_toolchain_data = exec_script(“setup_toolchain.py”,
^----------
Current dir: C:/brave-browser/src/out/Debug/
Command: C:/brave-browser/vendor/depot_tools/bootstrap-3_8_0b1_chromium_1_bin/python/bin/python.exe C:/brave-browser/src/build/toolchain/win/setup_toolchain.py “C:\Program Files (x86)/Microsoft Visual Studio/2017/Community” “C:\Program Files (x86)\Windows Kits\10” “C:\Windows\System32;C:\Windows\SysWOW64;Arm64Unused” win x86 environment.x86
Returned 1.
See //build/toolchain/win/BUILD.gn:403:3: whence it was called.
win_toolchains(“x86”) {
^----------------------
See //BUILD.gn:62:1: which caused the file to be included.
group(“gn_all”) {
^----------------
Traceback (most recent call last):
File “C:/brave-browser/src/build/toolchain/win/setup_toolchain.py”, line 297, in
main()
File “C:/brave-browser/src/build/toolchain/win/setup_toolchain.py”, line 274, in main
assert vc_bin_dir
AssertionError
null
null
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! brave@0.73.29 build: node ./scripts/commands.js build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the brave@0.73.29 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\admin\AppData\Roaming\npm-cache_logs\2019-10-25T07_43_48_699Z-debug.log

How to I can resolve them and build code?

Thank you.