Linux Arm64 npm run init fails
See original GitHub issueRunning 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
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:16 (2 by maintainers)
Top Results From Across the Web
Npm run init fails - linux - Developers - Brave Community
npm version 14.17.2 node 6.14.13. I have tried pulling the 1.26.x branch and also the latest branch. npm install - worked ok npm...
Read more >npm install hangs - node.js - Stack Overflow
When I was running npm i it was getting stuck in random dependencies. This actually works for me, do you know why this...
Read more >electron - npm
Start using electron in your project by running `npm i electron`. ... Each Electron release provides binaries for macOS, Windows, and Linux.
Read more >Installing - Cypress Documentation
This will install Cypress locally as a dev dependency for your project. Make sure that you have already run npm init or have...
Read more >Npm install command failing with message "could not find ...
I was following the project setup. When I run the npm install command, npm starts downloading the dependencies. But then, suddenly, it stops ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.