Brave build is failing on MacOS on npm run build

I am running macOS 10.15 and Xcode 11.5.

I ran the following commands as listed here: https://github.com/brave/brave-browser

git clone git@github.com:brave/brave-browser.git
cd brave-browser
npm install

npm config set target_os macos
npm config set target_arch x64

npm run init
npm run build

That is when I got the error in the above screenshot.

I successfully got it to build. Now how can I get an executable file (.dmg) to test on my mac?