Description of the issue:
I installed Brave on my Arch Linux system via AUR (yaourt), because its NOT available in the official repo
Now i figured out some problems and found out that i am not using the latest version, so i tried to update with the yaourt tool. But the update fails in the build() function and quits. So i still have to use an old version.
Steps to Reproduce (add as many as necessary): 1. 2. 3.
- install Arch Linux
- install the yaourt tool for AUR access
- install brave with the yaourt tool
- update with " yaourt -Su"
- go through the standard yaourt dialog without changing anything. just click āyesā
Actual Result (gifs and screenshots are welcome!): here is the error log:
> brave@0.23.105 check-security /tmp/yaourt-tmp-kanda/aur-brave/src/browser-laptop-0.23.105dev
> nsp check
(+) Client request error: connect ECONNREFUSED 62.138.239.45:443
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! brave@0.23.105 check-security: `nsp check`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the brave@0.23.105 check-security script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kanda/.npm/_logs/2019-02-17T07_53_55_670Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! brave@0.23.105 checks: `npm run check-security`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the brave@0.23.105 checks script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kanda/.npm/_logs/2019-02-17T07_53_55_702Z-debug.log
buildPackage failed { Error: Command failed: echo cleaning up target...&&rm -Rf *-linux-x64&&rm -Rf dist&&rm -f *.tar.bz2&&echo done&&echo starting build...&&"./node_modules/.bin/webpack"&&npm run checks&&node ./node_modules/electron-packager/cli.js . brave --overwrite=true --ignore="pre-commit|pre-push|test/|docs/|tools/|signcode-tf|rx|nslog|eslint|cppunitlite|caniuse-db|cross-env|spectron|\.(0|13ctype|APACHE2|BSD|DOCS|DS_Store|LESSER|Makefile|a|ac|aff|after|am|arcconfig|arclint|babelrc|bat|before|bnf|brave-gyp|c|cardinalrc|cc|cfg|closure-compiler|cmake|cmd|covignore|cpp|csv|cxx|d|def|deps|dic|dll|dntrc|dockerignore|dsp|editorconfig|editorconfig~|el|enc|entitlements|eot|esprima|flow|flowconfig|gitattributes|githug|gitignore|gitattributes|gitignore|gitkeep|gitmodules|gnu|gradle|gyp|gypi|gz|h|hbs|hxx|idl|iml|in|inc|include|info|jade|java|jsfmtrc|jshint|jshintignore|jshintrc|jslintrc|jst|js~|keep|lint|lintignore|lock|log|ls|m4|mailmap|map|markdown|md|mdown|md~|mem|min-wd|mk|mkd|mm|mustache|myspell|myspell|name|nsh|nsi|nsprc|nuspec|nvmrc|o|old|orig|otf|param|patch|pegjs|post|pre|pro|py|rej|s|sage|scss|settings|sh|skip|source-map|stamp|swo|tap|targ|template|tern-port|tern-project|testignore|tm_properties|tmp|tpl|ts|txt|un~|vscode|xcf|xml|yaml|yml)$|/deps/|Release/obj|obj.target|ad-block/(node_modules|test|perf|sample|scripts|test|vendor|ABPFilterParserData.dat)|tracking-protection/(node_modules|test|data|scripts|vendor)|tracking-protection/build/node_modules|tracking-protection/build/Release/(sample.exe|test.exe)|sqlite3/src|nsp/node_modules|electron-installer-squirrel-windows|electron-chromedriver|electron-installer-debian|node-notifier/vendor|node-gyp|npm|jsdoc|docs|sinon|electron-download|electron-rebuild|electron-packager|electron-builder|electron-prebuilt|electron-rebuild|electron-winstaller-fixed|muon-winstaller|electron-installer-redhat|flow-bin|babel$|babel-(?!polyfill|regenerator-runtime|preset-env|core)|jsdom-global|react-addons-perf|react-addons-test-utils|enzyme|git-rev-sync|sqlite3|uglify-js|webdriverio|webpack-dev-server" --platform=linux --arch=x64 --name="brave" --version=8.0.9 --icon=res/dev/app.png --asar=true --app-version=0.23.105 --build-version=8.0.9 --protocol="http" --protocol-name="HTTP Handler" --protocol="https" --protocol-name="HTTPS Handler" --product-dir-name="brave" --version-string.CompanyName="Brave Software" --version-string.ProductName="brave" --version-string.Copyright="Copyright 2017, Brave Software" --version-string.FileDescription="brave"&&ncp ./app/extensions brave-linux-x64/resources/extensions&&npm run package-tor brave-linux-x64/resources/extensions/bin&&mkdirp brave-linux-x64/resources/app.asar.unpacked/node_modules/node-anonize2-relic-emscripten&&ncp node_modules/node-anonize2-relic-emscripten/anonize2.js.mem brave-linux-x64/resources/app.asar.unpacked/node_modules/node-anonize2-relic-emscripten/anonize2.js.mem
(+) Client request error: connect ECONNREFUSED 62.138.239.45:443
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! brave@0.23.105 check-security: `nsp check`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the brave@0.23.105 check-security script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kanda/.npm/_logs/2019-02-17T07_53_55_670Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! brave@0.23.105 checks: `npm run check-security`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the brave@0.23.105 checks script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kanda/.npm/_logs/2019-02-17T07_53_55_702Z-debug.log
at ChildProcess.exithandler (child_process.js:297:12)
at ChildProcess.emit (events.js:197:13)
at maybeClose (internal/child_process.js:984:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
killed: false,
code: 2,
signal: null,
cmd:
'echo cleaning up target...&&rm -Rf *-linux-x64&&rm -Rf dist&&rm -f *.tar.bz2&&echo done&&echo starting build...&&"./node_modules/.bin/webpack"&&npm run checks&&node ./node_modules/electron-packager/cli.js . brave --overwrite=true --ignore="pre-commit|pre-push|test/|docs/|tools/|signcode-tf|rx|nslog|eslint|cppunitlite|caniuse-db|cross-env|spectron|\\.(0|13ctype|APACHE2|BSD|DOCS|DS_Store|LESSER|Makefile|a|ac|aff|after|am|arcconfig|arclint|babelrc|bat|before|bnf|brave-gyp|c|cardinalrc|cc|cfg|closure-compiler|cmake|cmd|covignore|cpp|csv|cxx|d|def|deps|dic|dll|dntrc|dockerignore|dsp|editorconfig|editorconfig~|el|enc|entitlements|eot|esprima|flow|flowconfig|gitattributes|githug|gitignore|gitattributes|gitignore|gitkeep|gitmodules|gnu|gradle|gyp|gypi|gz|h|hbs|hxx|idl|iml|in|inc|include|info|jade|java|jsfmtrc|jshint|jshintignore|jshintrc|jslintrc|jst|js~|keep|lint|lintignore|lock|log|ls|m4|mailmap|map|markdown|md|mdown|md~|mem|min-wd|mk|mkd|mm|mustache|myspell|myspell|name|nsh|nsi|nsprc|nuspec|nvmrc|o|old|orig|otf|param|patch|pegjs|post|pre|pro|py|rej|s|sage|scss|settings|sh|skip|source-map|stamp|swo|tap|targ|template|tern-port|tern-project|testignore|tm_properties|tmp|tpl|ts|txt|un~|vscode|xcf|xml|yaml|yml)$|/deps/|Release/obj|obj.target|ad-block/(node_modules|test|perf|sample|scripts|test|vendor|ABPFilterParserData.dat)|tracking-protection/(node_modules|test|data|scripts|vendor)|tracking-protection/build/node_modules|tracking-protection/build/Release/(sample.exe|test.exe)|sqlite3/src|nsp/node_modules|electron-installer-squirrel-windows|electron-chromedriver|electron-installer-debian|node-notifier/vendor|node-gyp|npm|jsdoc|docs|sinon|electron-download|electron-rebuild|electron-packager|electron-builder|electron-prebuilt|electron-rebuild|electron-winstaller-fixed|muon-winstaller|electron-installer-redhat|flow-bin|babel$|babel-(?!polyfill|regenerator-runtime|preset-env|core)|jsdom-global|react-addons-perf|react-addons-test-utils|enzyme|git-rev-sync|sqlite3|uglify-js|webdriverio|webpack-dev-server" --platform=linux --arch=x64 --name="brave" --version=8.0.9 --icon=res/dev/app.png --asar=true --app-version=0.23.105 --build-version=8.0.9 --protocol="http" --protocol-name="HTTP Handler" --protocol="https" --protocol-name="HTTPS Handler" --product-dir-name="brave" --version-string.CompanyName="Brave Software" --version-string.ProductName="brave" --version-string.Copyright="Copyright 2017, Brave Software" --version-string.FileDescription="brave"&&ncp ./app/extensions brave-linux-x64/resources/extensions&&npm run package-tor brave-linux-x64/resources/extensions/bin&&mkdirp brave-linux-x64/resources/app.asar.unpacked/node_modules/node-anonize2-relic-emscripten&&ncp node_modules/node-anonize2-relic-emscripten/anonize2.js.mem brave-linux-x64/resources/app.asar.unpacked/node_modules/node-anonize2-relic-emscripten/anonize2.js.mem' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! brave@0.23.105 build-package: `node ./tools/buildPackage.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the brave@0.23.105 build-package script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kanda/.npm/_logs/2019-02-17T07_53_55_741Z-debug.log
==> FEHLER: Ein Fehler geschah in build().
Breche ab...
==> FEHLER:Makepkg konnte brave nicht erstellen.
==> Erstellen von brave neu starten?[j/N]
==> -------------------------------------
==> ==> FEHLER:Konnte nicht aktualisieren
Expected result:
Should update.
Reproduces how often:
always
Brave Version(about:brave):
Brave: 0.23.105
V8: 6.8.275.24
rev: 0.23.105dev
Muon: 8.0.9
OS Release: 4.19.21-1-lts
Update Channel: Verƶffentlichung
OS Architecture: x64
OS Platform: Linux
Node.js: 7.9.0
Brave Sync: v1.4.2
libchromiumcontent: 68.0.3440.84