Following the build instructions, the `elifecycle` package does not exit.
See original GitHub issueDescription
We are Arch Linux users, followed the build instructions at the wiki. When we began to run the command npm run init
, but we received the error, indicating that elifecycle
does not exist.
Steps to Reproduce
- Follow the build instructions on Arch Linux
- Until the command
elifecycle
, and - We received the error.
Observe that we also tried to run the sudo npm -g install elifecycle
and itw as the same error.
Actual result:
Please check the attached log.
Expected result:
Nothing, as if elifecycle
was available.
Reproduces how often:
There is not how to reproduce good result, as the package is not available
Brave version (brave://version info)
Latest commit from this GitHub repository
Version/Channel Information:
Nightly
- Can you reproduce this issue with the current release? No
- Can you reproduce this issue with the beta channel? No
- Can you reproduce this issue with the dev channel? Yes
- Can you reproduce this issue with the nightly channel? Yes
Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields? No, it does not anything to do with the missed package.
- Does the issue resolve itself when disabling Brave Rewards? No, it does not anything to do with the missed package.
- Is the issue reproducible on the latest version of Chrome? No, it does not anything to do with the missed package.
Miscellaneous Information:
Traceback (most recent call last):
File "src/third_party/binutils/download.py", line 120, in <module>
sys.exit(main(sys.argv[1:]))
File "src/third_party/binutils/download.py", line 107, in main
return FetchAndExtract(arch)
File "src/third_party/binutils/download.py", line 72, in FetchAndExtract
'-s', sha1file])
File "/usr/lib64/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['download_from_google_storage', '--no_resume', '--no_auth', '--bucket', 'chromium-binutils', '-s', '/home/up/brave-browser/src/third_party/binutils/Linux_x64/binutils.tar.bz2.sha1']' returned non-zero exit status 1
Error: Command 'vpython src/third_party/binutils/download.py' returned non-zero exit status 1 in /home/up/brave-browser
Hook 'vpython src/third_party/binutils/download.py' took 14.67 secs
null
null
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! brave@0.73.30 init: node ./scripts/sync.js --init
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the brave@0.73.30 init script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to solve npm error "npm ERR! code ELIFECYCLE"
I was getting this npm ERR! code ELIFECYCLE error while running a build. Clearing the cache and removing the package-lock.json files did not...
Read more >How to solve npm error npm ERR! code ELIFECYCLE
Just hover your cursor to the node_modules folder and right click on it and choose “delete” from the option displayed . This operation...
Read more >npm ERR! code ELIFECYCLE - DEV Community
The "ELIFECYCLE" error occurs when an unknown error causes the application to fail. Probably another software was running and conflicted with ...
Read more >Troubleshooting Node.js Deploys - Heroku Dev Center
Check the buildpack · Compare Node and npm Versions · Make sure the lockfile is up to date · Don't check in generated...
Read more >@tensorflow/tfjs-node - npm
TypeScript icon, indicating that this package has built-in type ... TensorFlow.js for Node currently supports the following platforms:.
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
Only issue I have (which I believe affects all Linux distros) is https://github.com/brave/brave-browser/issues/11099.
The
npm ERR! code ELIFECYCLE
line from your log isn’t referring to an npm package, it’s a more general script error.I think the real error is here:
I’ve never seen that before personally, but it looks like there’s some issue fetching the chromium binutils package.
Could be that the server is temporarily down, sha1sum mismatches for some reason, or just that you don’t have enough disk space? Hard to say without the output specifically from
download_from_google_storage
.One last thing to note is that on Arch, you’ll need to make sure you’re using
python2
rather than the defaultpython3
. It looks like you’ve probably done this, but just want to make sure.I personally accomplish this by using a directory with a symlink called
python
that points to/usr/bin/python2
, and adding that directory to the beginning of myPATH
environment variable before starting a build.