Hello!
With help from Jeff Dickey here at the Ubuntu rally we got yarn packaged. It seems to work nicely, except for the node packages that require node-gyp.
I am not very good at strace, so I will need a hand to figure out what is going on here.
To reproduce:
$ wget http://people.ubuntu.com/~elopio/snaps/yarn_master_amd64.snap
$ sudo snap install yarn*.snap --dangerous --classic
$ mkdir ~/yarntest && cd ~/yarntest
$ yarn add sqlite
error /home/elopio/yarntest/node_modules/sqlite3: Command failed.
Exit code: 127
Command: node-pre-gyp install --fallback-to-build
Arguments: