Comment 26 for bug 1849753

Revision history for this message
Stanislav German-Evtushenko (giner) wrote :

Here is a workaround for node (tested on Ubuntu 22.04):

for cmd in node npm yarn; do
mkdir -p ~/bin
cat > "$HOME/bin/$cmd" << EOF
#!/bin/bash

/snap/bin/$cmd "\$@" > >(cat) 2> >(cat >&2)
EOF
chmod +x "$HOME/bin/$cmd"
done