What can I do?
I received an error when installing with $ makepkg -sirc
:
Compiling tonic v0.5.2
Compiling mullvad-rpc v0.1.0 (/home/uSER/AUR/mullvad-vpn-beta/src/mullvadvpn-app/mullvad-rpc)
Finished release [optimized] target(s) in 3m 58s
Generating shell completion script for bash...
Finished release [optimized] target(s) in 0.16s
Running `target/release/mullvad shell-completions bash dist-assets/shell-completions/`
Generating shell completion script for zsh...
Finished release [optimized] target(s) in 0.16s
Running `target/release/mullvad shell-completions zsh dist-assets/shell-completions/`
Generating shell completion script for fish...
Finished release [optimized] target(s) in 0.17s
Running `target/release/mullvad shell-completions fish dist-assets/shell-completions/`
Copying binaries
Updating relay list...
Finished release [optimized] target(s) in 0.15s
Running `target/release/relay_list`
Updating API address cache...
Finished release [optimized] target(s) in 0.18s
Running `target/release/address_cache`
~/AUR/mullvad-vpn-beta/src/mullvadvpn-app/gui ~/AUR/mullvad-vpn-beta/src/mullvadvpn-app
Installing JavaScript dependencies...
npm ERR! string.prototype.trimend not accessible from es-abstract
npm ERR! A complete log of this run can be found in:
npm ERR! /home/uSER/AUR/mullvad-vpn-beta/src/npm-cache/_logs/2021-10-13T01_56_31_303Z-debug.log
==> ERROR: A failure occurred in build().
Aborting...
This was what I found in the log file:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/bin/node',
1 verbose cli '/usr/bin/npm',
1 verbose cli 'ci',
1 verbose cli '--cache',
1 verbose cli '/home/uSER/AUR/mullvad-vpn-beta/src/npm-cache'
1 verbose cli ]
2 info using npm@6.14.15
3 info using node@v14.17.4
4 verbose npm-session 06aab0504f551e2b
5 info prepare initializing installer
6 verbose prepare starting workers
7 verbose prepare installation prefix: /home/uSER/AUR/mullvad-vpn-beta/src/mullvadvpn-app/gui
8 verbose prepare using package-lock.json
9 verbose checkLock verifying package-lock data
10 verbose teardown shutting down workers.
11 info teardown Done in 0s
12 verbose stack Error: string.prototype.trimend not accessible from es-abstract
12 verbose stack at reqAddr (/usr/lib/node_modules/npm/node_modules/npm-logical-tree/index.js:159:17)
12 verbose stack at /usr/lib/node_modules/npm/node_modules/npm-logical-tree/index.js:129:22
12 verbose stack at Array.forEach (<anonymous>)
12 verbose stack at addChild (/usr/lib/node_modules/npm/node_modules/npm-logical-tree/index.js:128:40)
12 verbose stack at /usr/lib/node_modules/npm/node_modules/npm-logical-tree/index.js:133:7
12 verbose stack at Array.forEach (<anonymous>)
12 verbose stack at addChild (/usr/lib/node_modules/npm/node_modules/npm-logical-tree/index.js:128:40)
12 verbose stack at /usr/lib/node_modules/npm/node_modules/npm-logical-tree/index.js:133:7
12 verbose stack at Array.forEach (<anonymous>)
12 verbose stack at addChild (/usr/lib/node_modules/npm/node_modules/npm-logical-tree/index.js:128:40)
12 verbose stack at /usr/lib/node_modules/npm/node_modules/npm-logical-tree/index.js:133:7
12 verbose stack at Array.forEach (<anonymous>)
12 verbose stack at addChild (/usr/lib/node_modules/npm/node_modules/npm-logical-tree/index.js:128:40)
12 verbose stack at /usr/lib/node_modules/npm/node_modules/npm-logical-tree/index.js:113:5
12 verbose stack at Array.forEach (<anonymous>)
12 verbose stack at lockTree (/usr/lib/node_modules/npm/node_modules/npm-logical-tree/index.js:107:5)
13 verbose cwd /home/uSER/AUR/mullvad-vpn-beta/src/mullvadvpn-app/gui
14 verbose Linux 5.14.11-1-MANJARO
15 verbose argv "/usr/bin/node" "/usr/bin/npm" "ci" "--cache" "/home/uSER/AUR/mullvad-vpn-beta/src/npm-cache"
16 verbose node v14.17.4
17 verbose npm v6.14.15
18 error string.prototype.trimend not accessible from es-abstract
19 verbose exit [ 1, true ]
Pinned Comments
yochananmarqos commented on 2022-10-05 15:33 (UTC) (edited on 2022-11-13 19:21 (UTC) by yochananmarqos)
PSA: Upstream does not support building natively for ARM64, only cross-compiling. You can use
mullvad-vpn-beta-bin
instead.yochananmarqos commented on 2019-12-07 17:44 (UTC) (edited on 2020-02-26 18:30 (UTC) by yochananmarqos)
--> ALWAYS DO A CLEAN BUILD <--
This package will verify the signature of the git tag. Developer keys are available here and instructions are here. See the PKGBUILD to determine which developer key you need.