Unable to Clone and Initialize repo in Ubuntu 18.04

When I run npm run init I get this error

fatal: ambiguous argument ‘refs/tags/74.0.3729.40’: unknown revision or path not in the working tree.

Any help would be appreciated.

cc @Mattches @sriram for assistance here.

Can you try

cd brave-browser
git checkout master
cd src/brave
git checkout master
npm run sync -- --all
npm run build
npm run start

Please note npm run sync -- --all will reset any changes you made locally. Please make sure you have your work stacked before running it .

2 Likes