It seems that currently the dist wont build they way things are by default due to incompatibility with PhantomJS.
I managed to build it this way:
npm install -g grunt-cli
npm install # this fails due to PhantoJS incompatibility
npm install [email protected]
npm install # this completes now without error
After than, just run grunt to build the dists