I try to compile the browser brave with NPM on Mac. I am all the steps on github.com/brave/brave-browser. But, once you arrive at the Step “NPM Run Init” npm returns the following error to me:
cd …/…/ && npm run --prefix src/broowzer sync – --init
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /src/brave/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open ‘/src/broowzer/package.json’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/*******/.npm/_logs/2023-02-26T08_29_37_283Z-debug-0.log
How to solve this problem. I point out that I verified that there was no spelling misconduct.