Package Details: protonmail-web-git r6108.8c0ee480c83d-1

Git Clone URL: https://aur.archlinux.org/protonmail-web-git.git (read-only, click to copy)
Package Base: protonmail-web-git
Description: Official AngularJS web client for the ProtonMail secure email service
Upstream URL: https://github.com/ProtonMail/WebClient
Licenses: MIT
Conflicts: protonmail-web
Provides: protonmail-web
Submitter: emersion
Maintainer: emersion
Last Packager: emersion
Votes: 1
Popularity: 0.29
First Submitted: 2018-07-29 21:40
Last Updated: 2020-01-31 12:08

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

acxz commented on 2019-12-19 23:18

@emersion sorry for the long build output, but this package build breaks for me. Can this be fixed?

==> Making package: protonmail-web-git r4782.81406ede-1 (Thu 19 Dec 2019 06:00:16 PM EST)
==> Retrieving sources...
  -> Cloning protonmail-web git repo...
Cloning into bare repository '/home/acxz/.cache/yay/protonmail-web-git/protonmail-web'...
remote: Enumerating objects: 276, done.
remote: Counting objects: 100% (276/276), done.
remote: Compressing objects: 100% (159/159), done.
remote: Total 153345 (delta 171), reused 183 (delta 117), pack-reused 153069
Receiving objects: 100% (153345/153345), 88.34 MiB | 5.06 MiB/s, done.
Resolving deltas: 100% (119469/119469), done.
==> Validating source files with sha1sums...
    protonmail-web ... Skipped
npm not satisfied, flushing install queue
==> Making package: protonmail-web-git r4782.81406ede-1 (Thu 19 Dec 2019 06:00:38 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating protonmail-web git repo...
Fetching origin
==> Validating source files with sha1sums...
    protonmail-web ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of protonmail-web git repo...
Cloning into 'protonmail-web'...
done.
==> Starting pkgver()...
==> Updated version: protonmail-web-git r6096.c3eec1e0e-1
==> Sources are ready.
==> Making package: protonmail-web-git r6096.c3eec1e0e-1 (Thu 19 Dec 2019 06:00:40 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...

> husky@1.3.1 install /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/husky
> node husky install

husky > setting up git hooks
husky > done

> node-sass@4.13.0 install /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.0/linux-x64-79_binding.node
Download complete .] - :
Binary saved to /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/node-sass/vendor/linux-x64-79/binding.node
Caching binary to /home/acxz/.npm/node-sass/4.13.0/linux-x64-79_binding.node

> core-js@2.6.11 postinstall /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> ejs@2.7.4 postinstall /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/ejs
> node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> gifsicle@4.0.1 postinstall /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/gifsicle
> node lib/install.js

  ✔ gifsicle pre-build test passed successfully

> jpegtran-bin@4.0.0 postinstall /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/jpegtran-bin
> node lib/install.js

  ✔ jpegtran pre-build test passed successfully

> mozjpeg@6.0.1 postinstall /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/mozjpeg
> node lib/install.js

  ✔ mozjpeg pre-build test passed successfully

> optipng-bin@5.1.0 postinstall /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/optipng-bin
> node lib/install.js

  ✔ optipng pre-build test passed successfully

> pngquant-bin@5.0.2 postinstall /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/pngquant-bin
> node lib/install.js

  ✔ pngquant pre-build test passed successfully

> ttag-cli@1.7.27 postinstall /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/ttag-cli
> node ./scripts/install_completion.js

Could not install bash completion, run install with --unsafe

> node-sass@4.13.0 postinstall /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/node-sass
> node scripts/build.js

Binary found at /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/node-sass/vendor/linux-x64-79/binding.node
Testing binary
Binary is fine

> parse-domain@2.3.4 postinstall /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/parse-domain
> run-s build:tries


> parse-domain@2.3.4 build:tries /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/parse-domain
> node scripts/build-tries.js

Downloading public suffix list from https://publicsuffix.org/list/public_suffix_list.dat... (node:46304) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
ok
Writing /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/parse-domain/build/tries/icann.complete.json... ok
Writing /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/parse-domain/build/tries/icann.light.json... ok
Writing /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/parse-domain/build/tries/private.complete.json... ok
Running sanity check... 
Could not update list of known top-level domains for parse-domain because of "Command failed: /usr/bin/node /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/node_modules/jest/bin/jest.js"
Using possibly outdated prebuilt list from Sat Nov 02 2019

> protonmail-web@3.16.19 postinstall /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web
> ./tasks/checkDependencies.js

  ✔ Verify dependencies for: openpgp
  ✔ Verify dependencies for: css
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 2184 packages from 1966 contributors and audited 904720 packages in 159.149s
found 4 vulnerabilities (1 low, 1 moderate, 2 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

> protonmail-web@3.16.19 build /home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web
> cross-env NODE_ENV=dist webpack


  Replace Autoprefixer browsers option to Browserslist config.
  Use browserslist key in package.json or .browserslistrc file.

  Using browsers option cause some error. Browserslist config 
  can be used for Babel, Autoprefixer, postcss-normalize and other tools.

  If you really need to use option, rename it to overrideBrowserslist.

  Learn more at:
  https://github.com/browserslist/browserslist#readme
  https://twitter.com/browserslist



WARNING: We noticed you're using the `useBuiltIns` option without declaring a core-js version. Currently, we assume version 2.x when no version is passed. Since this default version will likely change in future versions of Babel, we recommend explicitly setting the core-js version you are using via the `corejs` option.

You should also be sure that the version you pass to the `corejs` option matches the version specified in your `package.json`'s `dependencies` section. If it doesn't, you need to run one of the following commands:

  npm install --save core-js@2    npm install --save core-js@3
  yarn add core-js@2              yarn add core-js@3

   1663 modules

ERROR in ./src/app/attachments/services/attachmentApi.js
Module not found: Error: Can't resolve '../../config' in '/home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/src/app/attachments/services'

ERROR in ./src/app/bugReport/services/bugReportApi.js
Module not found: Error: Can't resolve '../../config' in '/home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/src/app/bugReport/services'

ERROR in ./src/app/commons/directives/appCopyright.js
Module not found: Error: Can't resolve '../../config' in '/home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/src/app/commons/directives'

ERROR in ./src/app/commons/models/eo.js
Module not found: Error: Can't resolve '../../config' in '/home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/src/app/commons/models'

ERROR in ./src/app/commons/services/url.js
Module not found: Error: Can't resolve '../../config' in '/home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/src/app/commons/services'

ERROR in ./src/app/commons/services/i18nLoader.js
Module not found: Error: Can't resolve '../../config' in '/home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/src/app/commons/services'

ERROR in ./src/app/core/directives/signupIframe.js
Module not found: Error: Can't resolve '../../config' in '/home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/src/app/core/directives'

ERROR in ./src/app/core/factories/versionInfoModel.js
Module not found: Error: Can't resolve '../../config' in '/home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/src/app/core/factories'

ERROR in ./src/app/core/factories/releaseNotesModal.js
Module not found: Error: Can't resolve '../../config' in '/home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/src/app/core/factories'

ERROR in ./src/app/ui/directives/appVersion.js
Module not found: Error: Can't resolve '../../config' in '/home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/src/app/ui/directives'

ERROR in ./src/app/user/services/iframeVerifWizard.js
Module not found: Error: Can't resolve '../../config' in '/home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/src/app/user/services'

ERROR in ./src/app/app.js
Module not found: Error: Can't resolve './config' in '/home/acxz/.cache/yay/protonmail-web-git/src/protonmail-web/src/app'
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! protonmail-web@3.16.19 build: `cross-env NODE_ENV=dist webpack`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the protonmail-web@3.16.19 build 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/acxz/.npm/_logs/2019-12-19T23_04_31_062Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...
Error making: protonmail-web-git

yochananmarqos commented on 2019-12-13 01:28

Please adhere to Node.js package guidelines and use a temporary cache:

npm install --cache "$srcdir/npm-cache" 

SlavMetal commented on 2019-03-11 09:19

Hi! There's an error with copying the files in the end:

==> Starting package()...
cp: cannot stat 'build/*': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
:: Unable to build protonmail-web-git - makepkg exited with code: 4