brave-browser: Linux Arm64 npm run init fails
Running npm run init fails and gives an error on Manjaro Arm64
npm run init
> brave@1.23.32 init
> node ./scripts/init.js
Performing initial checkout of brave-core
Cloning brave-core [undefined] into /home/corey/Stuff/brave-browser/src/brave...
-------------------------------------------------------------------------------
/home/corey/Stuff/brave-browser/src/brave
> git clone .
fatal: repository 'undefined' does not exist
npm ERR! code 1
npm ERR! path /home/corey/Stuff/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:
npm ERR! /home/corey/.npm/_logs/2021-03-11T06_26_49_392Z-debug.log
[corey@manjaro-pi brave-browser]$ npm install
up to date, audited 29 packages in 8s
found 0 vulnerabilities
[corey@manjaro-pi brave-browser]$ npm run init
> brave@1.23.32 init
> node ./scripts/init.js
Performing initial checkout of brave-core
Cloning brave-core [undefined] into /home/corey/Stuff/brave-browser/src/brave...
node:internal/fs/utils:323
throw err;
^
Error: EEXIST: file already exists, mkdir '/home/corey/Stuff/brave-browser/src/brave'
at Object.mkdirSync (node:fs:1024:3)
at Object.<anonymous> (/home/corey/Stuff/brave-browser/scripts/init.js:19:6)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
at Module.load (node:internal/modules/cjs/loader:972:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
at node:internal/main/run_main_module:17:47 {
errno: -17,
syscall: 'mkdir',
code: 'EEXIST',
path: '/home/corey/Stuff/brave-browser/src/brave'
}
npm ERR! code 1
npm ERR! path /home/corey/Stuff/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:
npm ERR! /home/corey/.npm/_logs/2021-03-11T06_31_43_841Z-debug.log
Brave version (brave://version info)
Brave version: 1.23.32
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 16 (2 by maintainers)
Thanks for the report @coreybruce ๐ Iโm de-duping reports of this issue and have it tracked with https://github.com/brave/brave-browser/issues/19398 in case you wanted to subscribe ๐
@coreybruce things should be in a better place now and weโre also looking at upgrading to newer node and npm.