Hi,
I’d like to be able to contribute to Brave, but can’t even get it to build. I’ve followed the instructions for the build environment, but I’m getting an error on the npm run build command. Here is the error:
ERROR at //v8/gni/snapshot_toolchain.gni:107:1: Assertion failed.
assert(v8_snapshot_toolchain != "",
^-----
Do not know how to build a snapshot for //build/toolchain/mac:clang_x64 on mac x64
See //BUILD.gn:31:1: whence it was imported.
import("//v8/gni/snapshot_toolchain.gni")
^---------------------------------------
null
null
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `node ./scripts/commands.js build "--target_os=macOS" "--target_arch=x86_64"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! <redacted_home_directory>/2020-06-03T01_14_51_335Z-debug.log
I’ve been struggling with this for a few days now and I have no idea what the error could be. Anyone able to lend some assistance?