Build on OSX failing at npm run init

hi all

i am trying to build on OSX 11.1 but failing really early. a npm run init

brave@1.21.28 init
node ./scripts/init.js

Performing initial checkout of brave-core
Cloning brave-core [undefined] into /Users/mikedilworth/Projects/brave-browser/src/brave…

/Users/mikedilworth/Projects/brave-browser/src/brave

git clone .

fatal: repository ‘undefined’ does not exist

npm ERR! code 1
npm ERR! path /Users/mikedilworth/Projects/brave-browser
npm ERR! command failed
npm ERR! command sh -c node ./scripts/init.js

npm ERR! A complete log of this run can be found in:

the log doesnt say much … some versions

node v15.6.0
npm v7.4.0

but it seems like the init script isnt picking up values from the config section in package.json

anyone have any ideas?

thanks

hi all, ok, so it doesnt like node v15.6.0. i uninstalled and installed version 12 and it is progressing…

btw i found this https://github.com/brock/node-reinstall - nice work :slight_smile:

1 Like

Is it this?

hi, nope wasnt that. i had to downgrade my node version as it wasnt picking up anything from package.json

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.