Solution: Install Python 2 and ensure that /usr/bin/python2 is available, or set the PYTHON environment variable with the path to Python 2
Note: This only occurs with non-LTS versions of node, on arches other than x86_64. On x86_64 with LTS node, the offending dependency downloads a prebuilt binary instead.
make using your distro package manager
gettext using your distro package manager
Telltale sign: the first line of the stack trace contains the word "canberra"
Root cause: cannot connect to PulseAudio
systemctl --user start pulseaudio.socketand
systemctl --user enable pulseaudio.socket)
$XDG_RUNTIME_DIR/pulseand check that it contains a socket called
sudo setenforce 0)