A package build is failing becuase of an error (see inside). Can someone help me fix it?

I’m trying to install mullvad-vpn from the AUR. After about 15 minutes of building, it spits outs the following error and I don’t know how to fix it.

I don’t believe my connection is through a proxy or anything like that.

Installing JavaScript dependencies...
npm ERR! code ETIMEDOUT
npm ERR! syscall connect
npm ERR! errno ETIMEDOUT
npm ERR! network request to https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz failed, reason: connect ETIMEDOUT 2606:4700::6810:1223:443
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network 
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/tmp/pamac-build-computer/mullvad-vpn/src/npm_cache/_logs/2022-06-02T09_24_45_116Z-debug-0.log
==> ERROR: A failure occurred in prepare().
    Aborting...

Try installing mullvad-vpn-bin instead:

Thank you, that seemed to have worked.

Can you explain the difference between mullvad-vpn and the bin version? Searching in the aur there are so many versions and the arch wiki seems to suggest oinstall mullvad-vpn

AFAIK a -bin version is pre-compiled. Meaning it doesn’t have to compile on your machine.

Or that AFAIK anyway…

1 Like

:point_up: :wink:

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.